From c7f50107d60e9a0dac4dc1f4ffa6e6192a1c9d38 Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Wed, 22 Jul 2020 15:07:02 +0300 Subject: [PATCH] Fixed symmetry guide being off by one pixel See https://github.com/Orama-Interactive/Pixelorama/issues/133#issuecomment-662328285 --- src/Classes/Project.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Classes/Project.gd b/src/Classes/Project.gd index 7c6f7f118..f6dd75a07 100644 --- a/src/Classes/Project.gd +++ b/src/Classes/Project.gd @@ -41,8 +41,8 @@ func _init(_frames := [], _name := tr("untitled"), _size := Vector2(64, 64)) -> OpenSave.current_save_paths.append("") OpenSave.backup_save_paths.append("") - x_symmetry_point = size.x / 2 + 1 - y_symmetry_point = size.y / 2 + 1 + x_symmetry_point = size.x / 2 + y_symmetry_point = size.y / 2 if !x_symmetry_axis: x_symmetry_axis = SymmetryGuide.new()