phosit
f9114a87f2
When calling `Engine.PushGuiPage` a promise is returned. The promise is
settled when the "child" page is closed. That allows to `await` it
inside `async` functions.
Previously the callback was run right inside the call to
`Engine.PopGuiPage`. Now the continuation of the promise is called at
the end of the "tick".
This won't help performance. It will more likely make things worse.
Since gui pages aren't opened or closed that frequently, it doesn't
matter that much.
Refs:
|
||
---|---|---|
.. | ||
GuiScriptConversions.cpp | ||
JSInterface_GUIManager.cpp | ||
JSInterface_GUIManager.h | ||
JSInterface_GUIProxy_impl.h | ||
JSInterface_GUIProxy.cpp | ||
JSInterface_GUIProxy.h | ||
JSInterface_GUISize.cpp | ||
JSInterface_GUISize.h | ||
ScriptFunctions.cpp | ||
ScriptFunctions.h |