Fix toggling GraphEdit's minimap with minimap_enabled

Fixes #53831.

(cherry picked from commit b1441bbcfc)
This commit is contained in:
Eric McGuirk 2022-01-25 21:04:02 -05:00 committed by Rémi Verschelde
parent bf6e7dc6f6
commit f82cd740cf

View file

@ -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();
}