From f82cd740cf995943044613a744f663bfc83c5916 Mon Sep 17 00:00:00 2001 From: Eric McGuirk Date: Tue, 25 Jan 2022 21:04:02 -0500 Subject: [PATCH] Fix toggling GraphEdit's minimap with `minimap_enabled` Fixes #53831. (cherry picked from commit b1441bbcfce23a2a8dfd95779e3de4f20053e65c) --- scene/gui/graph_edit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 8150ac75d00..ab2fe66adfc 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -1625,6 +1625,7 @@ float GraphEdit::get_minimap_opacity() const { void GraphEdit::set_minimap_enabled(bool p_enable) { minimap_button->set_pressed(p_enable); + _minimap_toggled(); minimap->update(); }