Skip to content

Commit c64f482

Browse files
Update from upstream and some minor fixes (#19)
* Update from upstream and some minor fixes Fix tab closing on web (1239) added translation for tab bar settings (1242) Fix CTRL + MMB zooming not keeping center at starting location (1243) Fix opening SVGs via the CLI crashing GodSVG (1244) Remove unused modules from third party components (1245) Fix tabbar error (1246) Add grid color setting (1247) Implement quit as a shortcut (1248) Move to Godot 4.4.1 (1250) Make UI actions modifiable (1251) Make Select All work for text (1252) Fix some issues with shortcuts (1253) filled in missing or fuzzy dutch translations (1258) Rework shortcut handling (1259) Fix unsaved initial tab (1260) Simplify native menu logic (1261) Reorganize shortcut logic in HandlerGUI (1262) Fix MacOS checked items not updating (1263) Minor codebase improvements (1264) Add tab previews for unsaved files (1265) Co-Authored-By: Mew Pur Pur <[email protected]> * Update build.yml --------- Co-authored-by: Mew Pur Pur <[email protected]>
1 parent 275dbe5 commit c64f482

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1202
-1015
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
# Which godot version to use for exporting.
1212
GODOT_VERSION: 4.4.1
1313
# Which godot release to use for exporting. (stable/rc/beta/alpha)
14-
GODOT_RELEASE: rc1
14+
GODOT_RELEASE: stable
1515
# Used in the editor config file name. Do not change this for patch releases.
1616
GODOT_FEATURE_VERSION: 4.4
1717
# Commit hash

assets/icons/Quit.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/icons/Quit.svg.import

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://cbkrorp0b7qgb"
6+
path="res://.godot/imported/Quit.svg-27ce495cfd421ac10bdab78eb7fc0164.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://assets/icons/Quit.svg"
14+
dest_files=["res://.godot/imported/Quit.svg-27ce495cfd421ac10bdab78eb7fc0164.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1
35+
svg/scale=1.0
36+
editor/scale_with_editor_scale=false
37+
editor/convert_colors_with_editor_theme=false

assets/icons/Snap.svg

Lines changed: 1 addition & 1 deletion
Loading

godot_only/icons/BetterButton.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://dvqpk5nveft8r"
6+
path="res://.godot/imported/BetterButton.svg-05d13469c50d2eb36ca24ebd664433ac.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://godot_only/icons/BetterButton.svg"
14+
dest_files=["res://.godot/imported/BetterButton.svg-05d13469c50d2eb36ca24ebd664433ac.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1
35+
svg/scale=1.0
36+
editor/scale_with_editor_scale=false
37+
editor/convert_colors_with_editor_theme=false

project.godot

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,6 @@ move_down={
159159
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":4194322,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
160160
]
161161
}
162-
undo={
163-
"deadzone": 0.2,
164-
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":122,"location":0,"echo":false,"script":null)
165-
]
166-
}
167-
redo={
168-
"deadzone": 0.2,
169-
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":true,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":90,"location":0,"echo":false,"script":null)
170-
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":89,"physical_keycode":0,"key_label":0,"unicode":121,"location":0,"echo":false,"script":null)
171-
]
172-
}
173162
duplicate={
174163
"deadzone": 0.2,
175164
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)

src/autoload/Configs.gd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@ signal basic_colors_changed
1818
@warning_ignore("unused_signal")
1919
signal handle_visuals_changed
2020
@warning_ignore("unused_signal")
21+
signal grid_color_changed
22+
@warning_ignore("unused_signal")
2123
signal shortcut_panel_changed
2224
@warning_ignore("unused_signal")
2325
signal active_tab_status_changed
2426
@warning_ignore("unused_signal")
27+
signal active_tab_reference_changed
28+
@warning_ignore("unused_signal")
2529
signal active_tab_changed
2630
@warning_ignore("unused_signal")
2731
signal tabs_changed
@@ -43,7 +47,7 @@ var default_shortcuts: Dictionary[String, Array] = {}
4347

4448
func _enter_tree() -> void:
4549
# Fill up the default shortcuts dictionary before the shortcuts are loaded.
46-
for action in ShortcutUtils.get_all_shortcuts():
50+
for action in ShortcutUtils.get_all_actions():
4751
if InputMap.has_action(action):
4852
default_shortcuts[action] = InputMap.action_get_events(action)
4953
load_config()
@@ -69,7 +73,7 @@ func reset_settings() -> void:
6973
savedata = SaveData.new()
7074
savedata.reset_to_default()
7175
savedata.language = "en"
72-
savedata.set_shortcut_panel_slots({ 0: "undo", 1: "redo", 2: "save"})
76+
savedata.set_shortcut_panel_slots({ 0: "ui_undo", 1: "ui_redo" })
7377
savedata.set_palettes([Palette.new("Pure", Palette.Preset.PURE)])
7478
save()
7579

0 commit comments

Comments
 (0)