Emit the zoom_changed signal in EditorZoomWidget when setting the zoom value through the zoom property.

This commit is contained in:
Relintai 2022-08-05 00:55:13 +02:00
parent 487b05fecb
commit ac7a4212a3

View File

@ -76,6 +76,8 @@ func set_zoom(p_zoom : float) -> void:
if (p_zoom > 0 && p_zoom != zoom):
zoom = p_zoom;
_update_zoom_label();
emit_signal("zoom_changed", zoom);
func set_zoom_by_increments(p_increment_count : int, p_integer_only : bool) -> void:
# Remove editor scale from the index computation.