More adjustments to scrolling and scroll_top, added debug_draw to elements that draws a box around the element that is atop all rendered things

This commit is contained in:
2021-02-13 22:57:18 -06:00
parent 92dd63dc1d
commit 1e0d2004b5
4 changed files with 48 additions and 25 deletions

View File

@@ -55,6 +55,12 @@ module CyberarmEngine
Gosu.flush
@tip.draw
end
if defined?(GUI_DEBUG)
Gosu.flush
@root_container.debug_draw
end
end
def update