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

Merge pull request #46563 from pycbouh/graph-edit-hide-minimap-properly

Properly hide GraphEdit's minimap
This commit is contained in:
Rémi Verschelde
2021-03-01 17:26:50 +01:00
committed by GitHub

View File

@@ -1558,7 +1558,12 @@ bool GraphEdit::is_minimap_enabled() const {
}
void GraphEdit::_minimap_toggled() {
minimap->update();
if (is_minimap_enabled()) {
minimap->set_visible(true);
minimap->update();
} else {
minimap->set_visible(false);
}
}
void GraphEdit::set_connection_lines_thickness(float p_thickness) {