summaryrefslogtreecommitdiff
path: root/ui/window.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-12-30 15:15:01 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-12-30 15:15:01 +0100
commite08a29e73ea4f7e6d78e8e7f5a6e7033dbc1f542 (patch)
tree966b95a7cdad16f7658d2e10cec6e549f3b98c17 /ui/window.gd
parent6e2deea3d1b2fb4d79dac02a0d4310936c7f317c (diff)
next commit
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()