diff --git a/src/UI/Canvas/Selection.gd b/src/UI/Canvas/Selection.gd index 2e63972d8..4c08f38e7 100644 --- a/src/UI/Canvas/Selection.gd +++ b/src/UI/Canvas/Selection.gd @@ -218,7 +218,8 @@ func _move_with_arrow_keys(event: InputEvent) -> void: move.x = 0 if is_zero_approx(absf(move.y)): move.y = 0 - move_content(move * step) + var final_direction := (move * step).round() + move_content(final_direction) ## Check if an event is a ui_up/down/left/right event pressed