aboutsummaryrefslogtreecommitdiff
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson2017-10-02 23:49:44 +0700
committerGitHub2017-10-02 23:49:44 +0700
commit34ea27138072446947ee12bfcaba288f9ff825e5 (patch)
tree2ed1cb5352d2b3eb9c21102337a4f8ac8c8734aa /editor/property_editor.cpp
parentc96fc380e5f6bd6a24a3c4a736eada7a0284975a (diff)
parent15986ea34322529637957d35ac66ad47ff936234 (diff)
downloadgodot-34ea27138072446947ee12bfcaba288f9ff825e5.tar.gz
godot-34ea27138072446947ee12bfcaba288f9ff825e5.tar.zst
godot-34ea27138072446947ee12bfcaba288f9ff825e5.zip
Merge pull request #11646 from djrm/pr_visual_improvements
Several visual improvements.
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r--editor/property_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index 9665f48e4..1b8a48586 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -3538,14 +3538,14 @@ void PropertyEditor::_draw_transparency(Object *t, const Rect2 &p_rect) {
return;
Color color = obj->get(ti->get_metadata(1));
- Ref<Texture> arrow = tree->get_icon("select_arrow");
+ Ref<Texture> arrow = tree->get_icon("select_option");
// make a little space between consecutive color fields
Rect2 area = p_rect;
area.position.y += 1;
area.size.height -= 2;
area.size.width -= arrow->get_size().width + 5;
- tree->draw_texture_rect(get_icon("Transparent", "EditorIcons"), area, true);
+ tree->draw_texture_rect(get_icon("GuiMiniCheckerboard", "EditorIcons"), area, true);
tree->draw_rect(area, color);
}