Fix toggling GraphEdit's minimap with minimap_enabled

Fixes #53831.

(cherry picked from commit b1441bbcfce23a2a8dfd95779e3de4f20053e65c)
This commit is contained in:
Eric McGuirk 2022-01-25 21:04:02 -05:00 committed by Relintai
parent 0da6b17950
commit 55ed3e573e

View File

@ -1633,6 +1633,7 @@ float GraphEdit::get_minimap_opacity() const {
void GraphEdit::set_minimap_enabled(bool p_enable) { void GraphEdit::set_minimap_enabled(bool p_enable) {
minimap_button->set_pressed(p_enable); minimap_button->set_pressed(p_enable);
_minimap_toggled();
minimap->update(); minimap->update();
} }