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:
parent
d3cb0c2b17
commit
c7f50107d6
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue