mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Fix zoom label not being updated
This commit is contained in:
parent
d5a30431b9
commit
f3883ea59e
@ -4190,6 +4190,7 @@ void CanvasItemEditor::_zoom_on_position(real_t p_zoom, Point2 p_position) {
|
||||
p_zoom = CLAMP(p_zoom, MIN_ZOOM, MAX_ZOOM);
|
||||
|
||||
if (p_zoom == zoom) {
|
||||
zoom_widget->set_zoom(p_zoom);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user