mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-08 01:49:35 +01:00
Emit the zoom_changed signal in EditorZoomWidget when setting the zoom value through the zoom property.
This commit is contained in:
parent
487b05fecb
commit
ac7a4212a3
@ -76,6 +76,8 @@ func set_zoom(p_zoom : float) -> void:
|
|||||||
if (p_zoom > 0 && p_zoom != zoom):
|
if (p_zoom > 0 && p_zoom != zoom):
|
||||||
zoom = p_zoom;
|
zoom = p_zoom;
|
||||||
_update_zoom_label();
|
_update_zoom_label();
|
||||||
|
emit_signal("zoom_changed", zoom);
|
||||||
|
|
||||||
|
|
||||||
func set_zoom_by_increments(p_increment_count : int, p_integer_only : bool) -> void:
|
func set_zoom_by_increments(p_increment_count : int, p_integer_only : bool) -> void:
|
||||||
# Remove editor scale from the index computation.
|
# Remove editor scale from the index computation.
|
||||||
|
Loading…
Reference in New Issue
Block a user