mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
87bf75f6e4
On branch cooker Changes to be committed: modified: tools/configurator/Rekku.gd modified: tools/configurator/main.gd modified: tools/configurator/main.tscn
13 lines
252 B
GDScript
13 lines
252 B
GDScript
extends Control
|
|
|
|
func _input(event):
|
|
if event.is_action_pressed("rekku_hide"):
|
|
self.visible = !self.visible
|
|
%SplitContainer.split_offset=-300
|
|
|
|
if Input.is_action_pressed("back_button"):
|
|
%SplitContainer.split_offset=0
|
|
$".".visible=false
|
|
|
|
|