1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fixed symmetry guide being off by one pixel

See https://github.com/Orama-Interactive/Pixelorama/issues/133#issuecomment-662328285
This commit is contained in:
OverloadedOrama 2020-07-22 15:07:02 +03:00
parent d3cb0c2b17
commit c7f50107d6

View file

@ -41,8 +41,8 @@ func _init(_frames := [], _name := tr("untitled"), _size := Vector2(64, 64)) ->
OpenSave.current_save_paths.append("") OpenSave.current_save_paths.append("")
OpenSave.backup_save_paths.append("") OpenSave.backup_save_paths.append("")
x_symmetry_point = size.x / 2 + 1 x_symmetry_point = size.x / 2
y_symmetry_point = size.y / 2 + 1 y_symmetry_point = size.y / 2
if !x_symmetry_axis: if !x_symmetry_axis:
x_symmetry_axis = SymmetryGuide.new() x_symmetry_axis = SymmetryGuide.new()