mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-29 00:55:42 +00:00
16 lines
472 B
GDScript
16 lines
472 B
GDScript
extends Control
|
|
|
|
|
|
func _input(event):
|
|
if event.is_action_released("rekku_hide"):
|
|
#self.visible = !self.visible
|
|
if class_functions.rekku_state == false:
|
|
self.visible = true
|
|
class_functions.rekku_state = true
|
|
%SplitContainer.split_offset=925
|
|
%meta_panel.visible = false
|
|
elif event.is_action_released("rekku_hide") and class_functions.rekku_state == true:
|
|
class_functions.rekku_state = false
|
|
self.visible = false
|
|
%SplitContainer.split_offset=1280
|