few-pizza-8232
04/02/2023, 9:38 PMbright-gpu-74537
04/02/2023, 9:41 PMhaxe
ShortcutManager.instance.register(shortcutTextToArray(sortcutText), () -> dispatchEvent(MenuEvent.MENU_SELECTED));bright-gpu-74537
04/02/2023, 9:41 PMfew-pizza-8232
04/02/2023, 9:44 PMbright-gpu-74537
04/02/2023, 9:44 PMfew-pizza-8232
04/02/2023, 9:50 PMbright-gpu-74537
04/02/2023, 9:53 PMhaxe
ShortcutManager.instance.register([CTRL, "s"], doSave)
and when you press put ctrl+s in the shortcutText for a menu item it also dispatches to the short cut manager, something like:
haxe
onMenuClick -> {
ShortcutManager.instance.dispatch(shortcutTextToArray(sortcutText));
dispatchEvent(MenuEvent.MENU_SELECTED)
}bright-gpu-74537
04/02/2023, 9:54 PMbright-gpu-74537
04/02/2023, 9:55 PMbright-gpu-74537
04/02/2023, 9:55 PMfew-pizza-8232
04/02/2023, 9:57 PMbright-gpu-74537
04/02/2023, 9:57 PMfew-pizza-8232
04/02/2023, 10:00 PMfew-pizza-8232
04/02/2023, 10:00 PMbright-gpu-74537
04/02/2023, 10:01 PMfew-pizza-8232
04/02/2023, 10:01 PMbright-gpu-74537
04/02/2023, 10:01 PMfew-pizza-8232
04/02/2023, 10:03 PMepitaph_concepts.txtbright-gpu-74537
04/02/2023, 10:04 PMicy-zebra-52882
04/03/2023, 8:08 AMrefreshAll() or refreshFor() once, the program keeps working as expectedicy-zebra-52882
04/03/2023, 8:16 AMicy-zebra-52882
04/03/2023, 8:18 AMen locale, switching to de-DE updates all the strings fine, but stops component values being updated further
if it starts in de-DE locale, switching to en only changes one string (the "Copy page" button" in the centre) and also stops values being updatedbright-gpu-74537
04/03/2023, 8:24 AMbright-gpu-74537
04/03/2023, 8:25 AMhttps://cdn.discordapp.com/attachments/565569107701923852/1092364344689442896/locale-issue.gifā¾
icy-zebra-52882
04/03/2023, 8:28 AM-D no-macro-cache to the HXML in case of macro sorceryicy-zebra-52882
04/03/2023, 8:28 AMbright-gpu-74537
04/03/2023, 8:29 AMbright-gpu-74537
04/03/2023, 8:29 AMicy-zebra-52882
04/03/2023, 8:29 AM