From f03dcfe230c06b4acd9de25b2f43922881a2c025 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Thu, 21 Jan 2021 01:58:15 +0200 Subject: [PATCH] Made Pan tool's shortcut change-able, and added missing translations --- Translations/Translations.pot | 8 ++++++++ src/Preferences/PreferencesDialog.tscn | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/Translations/Translations.pot b/Translations/Translations.pot index b50ba7cf2..99922f9b3 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -694,6 +694,11 @@ msgid "Zoom\n\n" "%s for right mouse button" msgstr "" +msgid "Pan\n\n" +"%s for left mouse button\n" +"%s for right mouse button" +msgstr "" + msgid "Color Picker\n" "Select a color from a pixel of the sprite\n\n" "%s for left mouse button\n" @@ -1410,6 +1415,9 @@ msgstr "" msgid "Zoom" msgstr "" +msgid "Pan" +msgstr "" + msgid "Color Picker" msgstr "" diff --git a/src/Preferences/PreferencesDialog.tscn b/src/Preferences/PreferencesDialog.tscn index bfb2ed5cc..f86efcfb0 100644 --- a/src/Preferences/PreferencesDialog.tscn +++ b/src/Preferences/PreferencesDialog.tscn @@ -857,6 +857,26 @@ margin_right = 505.0 margin_bottom = 64.0 size_flags_horizontal = 3 +[node name="PanLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Shortcuts/Shortcuts"] +margin_top = 47.0 +margin_right = 137.0 +margin_bottom = 61.0 +text = "Pan" + +[node name="left_pan_tool" type="Button" parent="HSplitContainer/ScrollContainer/VBoxContainer/Shortcuts/Shortcuts"] +margin_left = 142.0 +margin_top = 44.0 +margin_right = 321.0 +margin_bottom = 64.0 +size_flags_horizontal = 3 + +[node name="right_pan_tool" type="Button" parent="HSplitContainer/ScrollContainer/VBoxContainer/Shortcuts/Shortcuts"] +margin_left = 326.0 +margin_top = 44.0 +margin_right = 505.0 +margin_bottom = 64.0 +size_flags_horizontal = 3 + [node name="ColorPickerLabel" type="Label" parent="HSplitContainer/ScrollContainer/VBoxContainer/Shortcuts/Shortcuts"] margin_top = 69.0 margin_right = 137.0