diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-11 19:55:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-11 19:55:56 +0200 |
commit | 2fd5f207833709151d8359864cb1dcb1e521d766 (patch) | |
tree | 40f605956111c03a26996cf37e74b7c2786770b5 /scene | |
parent | f62f36cd91ce6f572317394137cb12c5fbf6c234 (diff) | |
parent | b1441bbcfce23a2a8dfd95779e3de4f20053e65c (diff) |
Merge pull request #57239 from emcguirk/minimap-toggle-fix
Fix GraphEdit's minimap doesn't show using `minimap_enabled`
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/graph_edit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index e39791642a..8b7e0f22b9 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -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(); } |