1
0
Fork 0
Commit Graph

4 Commits

Author SHA1 Message Date
under 845a09a62b Prevent multiple windows from being dragged at the same time
Before this, if the headers of two windows overlapped and you clicked
and dragged in that overlap, both windows would move at the same time.
After this, only the front window gets dragged. The way that this works
is that we use _gui_input instead of _input. This works because
_gui_input is only sent to the top-level control.
2024-03-20 11:27:27 -07:00
under 359e60d108 Move window into PackedScene
The Inventory window was created directly in the desktop scene but it
needs to be a template we can instantiate so I've moved it into its own
PackedScene.
2024-03-20 11:26:17 -07:00
under 8c8fc8058d Use _gui_input for header drag
Before this, if you moved a window's header to overlap the game window's
header, dragging the window again would drag the window and the game
window.
2024-03-20 11:11:16 -07:00
me4tw 6c4b0845a6 ok 2024-03-19 17:52:57 +10:00