mirror of https://github.com/godotengine/godot
Fix toggling GraphEdit's minimap with `minimap_enabled`
Fixes #53831.
(cherry picked from commit b1441bbcfc)
This commit is contained in:
parent
5b098bf41b
commit
3d4af8117d
|
|
@ -1631,6 +1631,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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue