diff --git a/src/Classes/ImageEffect.gd b/src/Classes/ImageEffect.gd index 0e772a97b..fa582d4ae 100644 --- a/src/Classes/ImageEffect.gd +++ b/src/Classes/ImageEffect.gd @@ -212,8 +212,8 @@ func set_and_update_preview_image(frame_idx: int) -> void: update_preview() -func update_preview(live := true) -> void: - if !live: +func update_preview(using_timer := false) -> void: + if !live_preview and !using_timer: wait_apply_timer.start() return @@ -262,7 +262,7 @@ func _on_live_checkbox_toggled(toggled_on: bool) -> void: func _on_wait_apply_timeout() -> void: - update_preview() + update_preview(true) func _on_wait_time_value_changed(value: float) -> void: diff --git a/src/UI/Dialogs/ImageEffects/RotateImage.gd b/src/UI/Dialogs/ImageEffects/RotateImage.gd index 731616501..d7772f0dd 100644 --- a/src/UI/Dialogs/ImageEffects/RotateImage.gd +++ b/src/UI/Dialogs/ImageEffects/RotateImage.gd @@ -175,15 +175,15 @@ func _on_TypeOptionButton_item_selected(_id: int) -> void: func _on_AngleSlider_value_changed(_value: float) -> void: - update_preview(live_preview) + update_preview() func _on_InitialAngleSlider_value_changed(_value: float) -> void: - update_preview(live_preview) + update_preview() func _on_ToleranceSlider_value_changed(_value: float) -> void: - update_preview(live_preview) + update_preview() func _on_quick_change_angle_pressed(angle_value: int) -> void: