diff --git a/addons/block_code/blocks/graphics/animationplayer_play.tres b/addons/block_code/blocks/graphics/animationplayer_play.tres index 3a593f83..6e8cefdc 100644 --- a/addons/block_code/blocks/graphics/animationplayer_play.tres +++ b/addons/block_code/blocks/graphics/animationplayer_play.tres @@ -27,7 +27,7 @@ description = "Play the animation." category = "Graphics | Animation" type = 2 variant_type = 0 -display_template = "play {animation: STRING} {direction: NIL} {wait_mode: NIL}" +display_template = "play {animation: STRING} | {direction: NIL} {wait_mode: NIL}" code_template = "if {direction} == \"forward\": play({animation}) else: diff --git a/addons/block_code/ui/blocks/utilities/template_editor/collapsable_settings.tscn b/addons/block_code/ui/blocks/utilities/template_editor/collapsable_settings.tscn index 653cc063..9d198c6f 100644 --- a/addons/block_code/ui/blocks/utilities/template_editor/collapsable_settings.tscn +++ b/addons/block_code/ui/blocks/utilities/template_editor/collapsable_settings.tscn @@ -1,8 +1,8 @@ [gd_scene load_steps=4 format=3 uid="uid://1xfpd777g8pf"] [ext_resource type="Script" path="res://addons/block_code/ui/blocks/utilities/template_editor/collapsable_settings.gd" id="1_f0ssn"] -[ext_resource type="Texture2D" uid="uid://br7yvjjtbuups" path="res://addons/block_code/ui/blocks/utilities/template_editor/plus.png" id="2_8s057"] -[ext_resource type="Texture2D" uid="uid://di3ona3fudjkx" path="res://addons/block_code/ui/blocks/utilities/template_editor/minus.png" id="3_6qcv3"] +[ext_resource type="Texture2D" uid="uid://cd243la33evh" path="res://addons/block_code/ui/blocks/utilities/template_editor/plus.svg" id="2_mp58d"] +[ext_resource type="Texture2D" uid="uid://dmplpvmlpcdrk" path="res://addons/block_code/ui/blocks/utilities/template_editor/minus.svg" id="3_adq5s"] [node name="CollapsableSettings" type="HBoxContainer"] offset_right = 36.0 @@ -12,7 +12,7 @@ script = ExtResource("1_f0ssn") [node name="ExpandSettingsButton" type="Button" parent="."] unique_name_in_owner = true layout_mode = 2 -icon = ExtResource("2_8s057") +icon = ExtResource("2_mp58d") flat = true icon_alignment = 1 @@ -20,6 +20,6 @@ icon_alignment = 1 unique_name_in_owner = true custom_minimum_size = Vector2(20, 20) layout_mode = 2 -icon = ExtResource("3_6qcv3") +icon = ExtResource("3_adq5s") flat = true icon_alignment = 1 diff --git a/addons/block_code/ui/blocks/utilities/template_editor/minus.png b/addons/block_code/ui/blocks/utilities/template_editor/minus.png deleted file mode 100644 index 88af774e..00000000 Binary files a/addons/block_code/ui/blocks/utilities/template_editor/minus.png and /dev/null differ diff --git a/addons/block_code/ui/blocks/utilities/template_editor/minus.svg b/addons/block_code/ui/blocks/utilities/template_editor/minus.svg new file mode 100644 index 00000000..5a1e60cd --- /dev/null +++ b/addons/block_code/ui/blocks/utilities/template_editor/minus.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + diff --git a/addons/block_code/ui/blocks/utilities/template_editor/plus.png.import b/addons/block_code/ui/blocks/utilities/template_editor/minus.svg.import similarity index 66% rename from addons/block_code/ui/blocks/utilities/template_editor/plus.png.import rename to addons/block_code/ui/blocks/utilities/template_editor/minus.svg.import index 446a2f83..0f5418dc 100644 --- a/addons/block_code/ui/blocks/utilities/template_editor/plus.png.import +++ b/addons/block_code/ui/blocks/utilities/template_editor/minus.svg.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://br7yvjjtbuups" -path="res://.godot/imported/plus.png-415014510d01c9db50069dbfc9e6ab6f.ctex" +uid="uid://dmplpvmlpcdrk" +path="res://.godot/imported/minus.svg-91b3ae6e73af60de8d208e1e34387d89.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://addons/block_code/ui/blocks/utilities/template_editor/plus.png" -dest_files=["res://.godot/imported/plus.png-415014510d01c9db50069dbfc9e6ab6f.ctex"] +source_file="res://addons/block_code/ui/blocks/utilities/template_editor/minus.svg" +dest_files=["res://.godot/imported/minus.svg-91b3ae6e73af60de8d208e1e34387d89.ctex"] [params] @@ -32,3 +32,6 @@ process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/addons/block_code/ui/blocks/utilities/template_editor/plus.png b/addons/block_code/ui/blocks/utilities/template_editor/plus.png deleted file mode 100644 index 8f17ccce..00000000 Binary files a/addons/block_code/ui/blocks/utilities/template_editor/plus.png and /dev/null differ diff --git a/addons/block_code/ui/blocks/utilities/template_editor/plus.svg b/addons/block_code/ui/blocks/utilities/template_editor/plus.svg new file mode 100644 index 00000000..62f6fb2b --- /dev/null +++ b/addons/block_code/ui/blocks/utilities/template_editor/plus.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + diff --git a/addons/block_code/ui/blocks/utilities/template_editor/minus.png.import b/addons/block_code/ui/blocks/utilities/template_editor/plus.svg.import similarity index 66% rename from addons/block_code/ui/blocks/utilities/template_editor/minus.png.import rename to addons/block_code/ui/blocks/utilities/template_editor/plus.svg.import index cbc94bf0..c70b64f2 100644 --- a/addons/block_code/ui/blocks/utilities/template_editor/minus.png.import +++ b/addons/block_code/ui/blocks/utilities/template_editor/plus.svg.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://di3ona3fudjkx" -path="res://.godot/imported/minus.png-7cbe293178ea19d9e5fbc8ba50c3a01b.ctex" +uid="uid://cd243la33evh" +path="res://.godot/imported/plus.svg-ca1f07941354f8a370925e9c4f909843.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://addons/block_code/ui/blocks/utilities/template_editor/minus.png" -dest_files=["res://.godot/imported/minus.png-7cbe293178ea19d9e5fbc8ba50c3a01b.ctex"] +source_file="res://addons/block_code/ui/blocks/utilities/template_editor/plus.svg" +dest_files=["res://.godot/imported/plus.svg-ca1f07941354f8a370925e9c4f909843.ctex"] [params] @@ -32,3 +32,6 @@ process/hdr_as_srgb=false process/hdr_clamp_exposure=false process/size_limit=0 detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false