summaryrefslogtreecommitdiff
path: root/editor/editor_help.cpp
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-11-19 03:05:01 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-11-19 03:05:01 -0200
commit7144e2fde4c8ff7aa17d4654b899a28b0da9892b (patch)
tree222ec328c23f1d5f7d882cc84ed06fe2aa329781 /editor/editor_help.cpp
parent60cbb69c7c40efd72234ef10e77767347d8df6c4 (diff)
Add more places to hide guides if relationship lines are enabled
Diffstat (limited to 'editor/editor_help.cpp')
-rw-r--r--editor/editor_help.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index 3ee8d9c6c5..de1f856608 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -399,8 +399,10 @@ void EditorHelpIndex::_notification(int p_what) {
if (enable_rl) {
class_list->add_constant_override("draw_relationship_lines", 1);
class_list->add_color_override("relationship_line_color", rl_color);
+ class_list->add_constant_override("draw_guides", 0);
} else {
class_list->add_constant_override("draw_relationship_lines", 0);
+ class_list->add_constant_override("draw_guides", 1);
}
}
}