summaryrefslogtreecommitdiff
path: root/ui/window.gd
diff options
context:
space:
mode:
Diffstat (limited to 'ui/window.gd')
-rw-r--r--ui/window.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/window.gd b/ui/window.gd
index cd6fade..25b0988 100644
--- a/ui/window.gd
+++ b/ui/window.gd
@@ -8,6 +8,7 @@ var drag_anchor := Vector2.ZERO
func _process(_delta: float) -> void:
if is_dragging:
global_position += get_global_mouse_position() - drag_anchor
+ #%TitleBar.size # TODO: use title bar size as min/max. dont let the bar vanish
drag_anchor = get_global_mouse_position()