Skip to content

Commit 665abf0

Browse files
authored
Merge pull request #343 from joaquin30/collapse-expand-advanced-settings
Improved resolution of collapse/expand icon
2 parents a9059a8 + 00c0317 commit 665abf0

File tree

8 files changed

+138
-13
lines changed

8 files changed

+138
-13
lines changed

addons/block_code/blocks/graphics/animationplayer_play.tres

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ description = "Play the animation."
2727
category = "Graphics | Animation"
2828
type = 2
2929
variant_type = 0
30-
display_template = "play {animation: STRING} {direction: NIL} {wait_mode: NIL}"
30+
display_template = "play {animation: STRING} | {direction: NIL} {wait_mode: NIL}"
3131
code_template = "if {direction} == \"forward\":
3232
play({animation})
3333
else:
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[gd_scene load_steps=4 format=3 uid="uid://1xfpd777g8pf"]
22

33
[ext_resource type="Script" path="res://addons/block_code/ui/blocks/utilities/template_editor/collapsable_settings.gd" id="1_f0ssn"]
4-
[ext_resource type="Texture2D" uid="uid://br7yvjjtbuups" path="res://addons/block_code/ui/blocks/utilities/template_editor/plus.png" id="2_8s057"]
5-
[ext_resource type="Texture2D" uid="uid://di3ona3fudjkx" path="res://addons/block_code/ui/blocks/utilities/template_editor/minus.png" id="3_6qcv3"]
4+
[ext_resource type="Texture2D" uid="uid://cd243la33evh" path="res://addons/block_code/ui/blocks/utilities/template_editor/plus.svg" id="2_mp58d"]
5+
[ext_resource type="Texture2D" uid="uid://dmplpvmlpcdrk" path="res://addons/block_code/ui/blocks/utilities/template_editor/minus.svg" id="3_adq5s"]
66

77
[node name="CollapsableSettings" type="HBoxContainer"]
88
offset_right = 36.0
@@ -12,14 +12,14 @@ script = ExtResource("1_f0ssn")
1212
[node name="ExpandSettingsButton" type="Button" parent="."]
1313
unique_name_in_owner = true
1414
layout_mode = 2
15-
icon = ExtResource("2_8s057")
15+
icon = ExtResource("2_mp58d")
1616
flat = true
1717
icon_alignment = 1
1818

1919
[node name="CollapseSettingsButton" type="Button" parent="."]
2020
unique_name_in_owner = true
2121
custom_minimum_size = Vector2(20, 20)
2222
layout_mode = 2
23-
icon = ExtResource("3_6qcv3")
23+
icon = ExtResource("3_adq5s")
2424
flat = true
2525
icon_alignment = 1
Binary file not shown.
Lines changed: 56 additions & 0 deletions
Loading

addons/block_code/ui/blocks/utilities/template_editor/plus.png.import renamed to addons/block_code/ui/blocks/utilities/template_editor/minus.svg.import

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://br7yvjjtbuups"
6-
path="res://.godot/imported/plus.png-415014510d01c9db50069dbfc9e6ab6f.ctex"
5+
uid="uid://dmplpvmlpcdrk"
6+
path="res://.godot/imported/minus.svg-91b3ae6e73af60de8d208e1e34387d89.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://addons/block_code/ui/blocks/utilities/template_editor/plus.png"
14-
dest_files=["res://.godot/imported/plus.png-415014510d01c9db50069dbfc9e6ab6f.ctex"]
13+
source_file="res://addons/block_code/ui/blocks/utilities/template_editor/minus.svg"
14+
dest_files=["res://.godot/imported/minus.svg-91b3ae6e73af60de8d208e1e34387d89.ctex"]
1515

1616
[params]
1717

@@ -32,3 +32,6 @@ process/hdr_as_srgb=false
3232
process/hdr_clamp_exposure=false
3333
process/size_limit=0
3434
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
Binary file not shown.
Lines changed: 63 additions & 0 deletions
Loading

addons/block_code/ui/blocks/utilities/template_editor/minus.png.import renamed to addons/block_code/ui/blocks/utilities/template_editor/plus.svg.import

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://di3ona3fudjkx"
6-
path="res://.godot/imported/minus.png-7cbe293178ea19d9e5fbc8ba50c3a01b.ctex"
5+
uid="uid://cd243la33evh"
6+
path="res://.godot/imported/plus.svg-ca1f07941354f8a370925e9c4f909843.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://addons/block_code/ui/blocks/utilities/template_editor/minus.png"
14-
dest_files=["res://.godot/imported/minus.png-7cbe293178ea19d9e5fbc8ba50c3a01b.ctex"]
13+
source_file="res://addons/block_code/ui/blocks/utilities/template_editor/plus.svg"
14+
dest_files=["res://.godot/imported/plus.svg-ca1f07941354f8a370925e9c4f909843.ctex"]
1515

1616
[params]
1717

@@ -32,3 +32,6 @@ process/hdr_as_srgb=false
3232
process/hdr_clamp_exposure=false
3333
process/size_limit=0
3434
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

0 commit comments

Comments
 (0)