Calculating frames only when shown#5
Open
Shallowmallow wants to merge 3 commits intohaxeui:masterfrom
Open
Conversation
Member
|
have you tested these changes on haxeui-html5 and haxeui-openfl? Even just a cut down version? |
Author
|
Tested it on html5, will try on openfl.
Le mar. 13 févr. 2024 à 12:22, Ian Harrigan ***@***.***> a
écrit :
… have you tested these changes on haxeui-html5 and haxeui-openfl? Even just
a cut down version?
—
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBNBIUBRFUQ36MKUZREUN3YTNEF7AVCNFSM6AAAAABDGJHD7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBRGI3TGNBUGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Author
|
Yeah it works.
But good question indeed my first try, html5 didn't work, because shown
seems to be called before onReady which I didn't expect.
Oh just noticed something onShown was called twice, so it would double the
normal speed for the chart that draws on normally only one every two frames
^^. So thanks
|
Author
|
And forgot to say onShown twice was corrected :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Otherwise