generated from krampus/template-godot4
This commit is contained in:
parent
46d000915d
commit
e440b3124f
@ -30,7 +30,8 @@ func _ready() -> void:
|
||||
# Set action label text
|
||||
var loc_action := tr(ACTION_KEY_FMT.format([key]))
|
||||
# Fall back to just the key if no localization exists
|
||||
@warning_ignore("incompatible_ternary") action.text = loc_action if loc_action else key
|
||||
@warning_ignore("incompatible_ternary")
|
||||
action.text = loc_action if loc_action else key
|
||||
|
||||
# Set the binding label
|
||||
_set_label_from_binding()
|
||||
|
Loading…
x
Reference in New Issue
Block a user