summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorChaosus89 <chaosus89@gmail.com>2019-09-01 08:57:56 +0300
committerChaosus89 <chaosus89@gmail.com>2019-09-01 09:12:26 +0300
commit8fd858954753a7e87e220cd538ef905b0615c7cb (patch)
tree6dc1233aa9e7d8967dd076ee2f6e88630911517c /scene/gui
parent00aabec8bb598592b8a8702797b51fc9f6ca6169 (diff)
Fix resizer icon visiblity on light theme in GraphNode
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/graph_node.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/graph_node.cpp b/scene/gui/graph_node.cpp
index f7bef4ed39..5b2f8812d5 100644
--- a/scene/gui/graph_node.cpp
+++ b/scene/gui/graph_node.cpp
@@ -210,6 +210,7 @@ void GraphNode::_notification(int p_what) {
int close_offset = get_constant("close_offset");
int close_h_offset = get_constant("close_h_offset");
Color close_color = get_color("close_color");
+ Color resizer_color = get_color("resizer_color");
Ref<Font> title_font = get_font("title_font");
int title_offset = get_constant("title_offset");
int title_h_offset = get_constant("title_h_offset");
@@ -274,7 +275,7 @@ void GraphNode::_notification(int p_what) {
}
if (resizable) {
- draw_texture(resizer, get_size() - resizer->get_size());
+ draw_texture(resizer, get_size() - resizer->get_size(), resizer_color);
}
} break;