1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Fix resizer icon visiblity on light theme in GraphNode

This commit is contained in:
Chaosus89
2019-09-01 08:57:56 +03:00
parent 00aabec8bb
commit 8fd8589547
7 changed files with 9 additions and 1 deletions

View File

@@ -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;