Bug fixes. (#367)

- Do not draw more frames than what is needed.
- Fix MenuEntry transform state.
- Fix Canvas animated example.
This commit is contained in:
Arthur Sonzogni
2022-03-26 07:55:52 +01:00
committed by GitHub
parent 548fa51b71
commit 62fb6298be
4 changed files with 58 additions and 57 deletions

View File

@@ -512,9 +512,9 @@ Component MenuEntry(ConstStringRef label, Ref<MenuEntryOption> option) {
EntryState state = {
*label_,
false,
hovered_,
focused,
false,
};
Element element =