add debug display hiding layout labels
This commit is contained in:
parent
78667ade3d
commit
d328836ec5
@ -17,6 +17,11 @@ func _ready() -> void:
|
|||||||
LayoutConfig.layout_swapped.connect(_set_layout_label)
|
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:
|
func _unhandled_input(event: InputEvent) -> void:
|
||||||
if event is not InputEventKey or not event.is_pressed():
|
if event is not InputEventKey or not event.is_pressed():
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user