Improvements to layout recalculating, reduces need to manually force a refresh (F5)

This commit is contained in:
2023-11-17 17:10:53 -06:00
parent 286efa2059
commit 1882673fff
4 changed files with 24 additions and 9 deletions

View File

@@ -246,6 +246,7 @@ module CyberarmEngine
end
root.gui_state.request_repaint if @width != old_width || @height != old_height
recalculate_if_size_changed
end
def layout