mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 10:14:42 -04:00
Changed hint_tooltips for the tool buttons, they now change based on selected keybindings
This commit is contained in:
parent
4c9a58a333
commit
ba8d01333e
4 changed files with 79 additions and 21 deletions
|
@ -245,6 +245,7 @@ func _on_Language_pressed(button : Button) -> void:
|
|||
Global.config_cache.save("user://cache.ini")
|
||||
|
||||
# Update Translations
|
||||
Global.update_hint_tooltips()
|
||||
_on_PreferencesDialog_popup_hide()
|
||||
_on_PreferencesDialog_about_to_show(true)
|
||||
|
||||
|
@ -357,6 +358,7 @@ func toggle_shortcut_buttons(enabled : bool) -> void:
|
|||
func set_action_shortcut(action : String, old_input : InputEventKey, new_input : InputEventKey) -> void:
|
||||
InputMap.action_erase_event(action, old_input)
|
||||
InputMap.action_add_event(action, new_input)
|
||||
Global.update_hint_tooltips()
|
||||
|
||||
|
||||
func _on_GridWidthValue_value_changed(value : float) -> void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue