You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hazelnut UI becomes unresponsive when we resize the window. The reason for that is that our Application run loop pauses as it is still resolving Win32 messages. This causes such behaviour:
When the scene is running and the window is resized, the scene pauses and when the window resize stops everything that happened in between is skipped.
The scripting engine also pauses, potentially causing unpredicted behavior (this is just a theory, since I haven't tested this much as I had already fixed this unresponsive UI problem on the engine that I am building alongside @TheCherno).
Since there is not a mininum size for the window, this is also possible.
Solution
Updating the window and layers in the OnWindowResize function in Application.
The text was updated successfully, but these errors were encountered:
zod24
linked a pull request
Jul 9, 2023
that will
close
this issue
Probelm
The hazelnut UI becomes unresponsive when we resize the window. The reason for that is that our Application run loop pauses as it is still resolving Win32 messages. This causes such behaviour:
Solution
Updating the window and layers in the
OnWindowResize
function inApplication
.The text was updated successfully, but these errors were encountered: