Skip to content

Commit

Permalink
fix: swap 'clear' icon for 'remove' (broom -> trashcan) (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney authored Oct 10, 2023
1 parent 56f1c54 commit a2e6a33
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 6 deletions.
4 changes: 4 additions & 0 deletions addons/pandora/icons/Remove.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions addons/pandora/icons/Remove.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b2s1ixfakdj1e"
path="res://.godot/imported/Remove.svg-304a522644e37fda7b1d0215ad410adc.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://addons/pandora/icons/Remove.svg"
dest_files=["res://.godot/imported/Remove.svg-304a522644e37fda7b1d0215ad410adc.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
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
4 changes: 2 additions & 2 deletions addons/pandora/ui/components/array_editor/array_item.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_scene load_steps=3 format=3 uid="uid://crcu03fp7fkyd"]

[ext_resource type="Script" path="res://addons/pandora/ui/components/array_editor/array_item.gd" id="1_3q6kl"]
[ext_resource type="Texture2D" uid="uid://c8r1klbs37r1b" path="res://addons/pandora/icons/Clear.svg" id="2_himgp"]
[ext_resource type="Texture2D" uid="uid://b2s1ixfakdj1e" path="res://addons/pandora/icons/Remove.svg" id="2_rgeed"]

[node name="ArrayItem" type="PanelContainer"]
size_flags_horizontal = 3
Expand All @@ -19,7 +19,7 @@ size_flags_horizontal = 3
[node name="DeleteItemButton" type="Button" parent="HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
icon = ExtResource("2_himgp")
icon = ExtResource("2_rgeed")

[node name="ConfirmationDialog" type="ConfirmationDialog" parent="."]
unique_name_in_owner = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[ext_resource type="Script" path="res://addons/pandora/ui/components/properties/property_control_kvp.gd" id="1_1h35p"]
[ext_resource type="Texture2D" uid="uid://bhcep67ihojnd" path="res://addons/pandora/icons/Reload.svg" id="2_718d2"]
[ext_resource type="Texture2D" uid="uid://bfs83ic84umkv" path="res://addons/pandora/icons/nanoid.svg" id="3_1psa3"]
[ext_resource type="Texture2D" uid="uid://c8r1klbs37r1b" path="res://addons/pandora/icons/Clear.svg" id="3_dhxsl"]
[ext_resource type="Texture2D" uid="uid://b2s1ixfakdj1e" path="res://addons/pandora/icons/Remove.svg" id="4_2n76s"]

[node name="PropertyControlKVP" type="PanelContainer"]
size_flags_horizontal = 3
Expand Down Expand Up @@ -59,7 +59,7 @@ icon = ExtResource("3_1psa3")
unique_name_in_owner = true
layout_mode = 2
disabled = true
icon = ExtResource("3_dhxsl")
icon = ExtResource("4_2n76s")

[node name="ConfirmationDialog" type="ConfirmationDialog" parent="."]
unique_name_in_owner = true
Expand Down
4 changes: 2 additions & 2 deletions addons/pandora/ui/editor/pandora_editor.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
[ext_resource type="PackedScene" uid="uid://ctmsh7eg6wypu" path="res://addons/pandora/ui/components/entity_tree/entity_tree.tscn" id="3_4ayq8"]
[ext_resource type="PackedScene" uid="uid://clsxp8wg4ctet" path="res://addons/pandora/ui/editor/property_editor/property_editor.tscn" id="3_8d8dx"]
[ext_resource type="Texture2D" uid="uid://dimpswbv6s8t2" path="res://addons/pandora/icons/Folder.svg" id="3_ehaql"]
[ext_resource type="Texture2D" uid="uid://c8r1klbs37r1b" path="res://addons/pandora/icons/Clear.svg" id="4_c68uu"]
[ext_resource type="Texture2D" uid="uid://bfs83ic84umkv" path="res://addons/pandora/icons/nanoid.svg" id="4_wy3he"]
[ext_resource type="Texture2D" uid="uid://b2s1ixfakdj1e" path="res://addons/pandora/icons/Remove.svg" id="5_0e3qw"]
[ext_resource type="Texture2D" uid="uid://bv43ytfd0mlq1" path="res://addons/pandora/icons/Search.svg" id="5_4i0xc"]
[ext_resource type="Texture2D" uid="uid://bhcep67ihojnd" path="res://addons/pandora/icons/Reload.svg" id="5_qbvn0"]
[ext_resource type="PackedScene" uid="uid://dsqfuyjkcdwvu" path="res://addons/pandora/ui/components/notification_label/notification_label.tscn" id="6_ftkgr"]
Expand Down Expand Up @@ -69,7 +69,7 @@ unique_name_in_owner = true
layout_mode = 2
tooltip_text = "Delete selected entry"
disabled = true
icon = ExtResource("4_c68uu")
icon = ExtResource("5_0e3qw")

[node name="SaveButton" type="Button" parent="Contents/HeaderBar/Actions"]
unique_name_in_owner = true
Expand Down

0 comments on commit a2e6a33

Please sign in to comment.