Explorar el Código

Fix toggling GraphEdit's minimap with `minimap_enabled`

Fixes #53831.
Eric McGuirk hace 3 años
padre
commit
b1441bbcfc
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      scene/gui/graph_edit.cpp

+ 1 - 0
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();
 }