add debug display hiding layout labels

This commit is contained in:
Teatov 2025-08-08 02:31:28 +10:00
parent 78667ade3d
commit d328836ec5

View File

@ -17,6 +17,11 @@ func _ready() -> void:
LayoutConfig.layout_swapped.connect(_set_layout_label)
func _process(_delta: float) -> void:
_layout_label.visible = _keyboard.is_configuring
_layout_swap_label.visible = _keyboard.is_configuring
func _unhandled_input(event: InputEvent) -> void:
if event is not InputEventKey or not event.is_pressed():
return