forked from LGDG/ExampleProject
Move windows into foreground when selected
This commit is contained in:
parent
cc629bfc42
commit
b83bd2074a
|
@ -12,6 +12,7 @@ func _input(event: InputEvent):
|
|||
if event.pressed:
|
||||
if get_global_rect().has_point(get_global_mouse_position()):
|
||||
desktop.current_window = self
|
||||
get_parent().move_child(self, get_parent().get_child_count())
|
||||
elif event is InputEventKey:
|
||||
if event.keycode == KEY_F11:
|
||||
if event.pressed:
|
||||
|
|
Loading…
Reference in New Issue