You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Properly hide GraphEdit's minimap
This commit is contained in:
@@ -1620,7 +1620,12 @@ bool GraphEdit::is_minimap_enabled() const {
|
||||
}
|
||||
|
||||
void GraphEdit::_minimap_toggled() {
|
||||
if (is_minimap_enabled()) {
|
||||
minimap->set_visible(true);
|
||||
minimap->update();
|
||||
} else {
|
||||
minimap->set_visible(false);
|
||||
}
|
||||
}
|
||||
|
||||
HBoxContainer *GraphEdit::get_zoom_hbox() {
|
||||
|
||||
Reference in New Issue
Block a user