diff --git a/src/UI/Dialogs/ImageEffects/RotateImage.gd b/src/UI/Dialogs/ImageEffects/RotateImage.gd index b30fc5a88..d13e033c5 100644 --- a/src/UI/Dialogs/ImageEffects/RotateImage.gd +++ b/src/UI/Dialogs/ImageEffects/RotateImage.gd @@ -310,7 +310,7 @@ func _on_Indicator_gui_input(event: InputEvent) -> void: drag_pivot = false if drag_pivot: var img_size := preview_image.get_size() - var mouse_pos := get_local_mouse_position() - pivot_indicator.rect_position + var mouse_pos := pivot_indicator.get_local_mouse_position() var ratio := img_size / pivot_indicator.rect_size # we need to set the scale according to the larger side var conversion_scale: float