Fix toggling GraphEdit's minimap with minimap_enabled

Fixes #53831.
This commit is contained in:
Eric McGuirk 2022-01-25 21:04:02 -05:00 committed by Rémi Verschelde
parent df51e5fab0
commit b1441bbcfc

View file

@ -1637,6 +1637,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();
}