mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 13:44:42 -04:00
Renamed the _limit variables
See https://github.com/Orama-Interactive/Pixelorama/issues/232#issuecomment-638718662
This commit is contained in:
parent
2f5354ae4d
commit
2e5ff236d7
3 changed files with 62 additions and 62 deletions
|
@ -53,8 +53,8 @@ func set_pixel_perfect(value: bool) -> void:
|
|||
|
||||
|
||||
func set_pixel(_sprite: Image, _pos: Vector2, _new_color: Color) -> void:
|
||||
var mirror_x = Global.canvas.east_limit + Global.canvas.west_limit - _pos.x - 1
|
||||
var mirror_y = Global.canvas.south_limit + Global.canvas.north_limit - _pos.y - 1
|
||||
var mirror_x = Global.canvas.x_max + Global.canvas.x_min - _pos.x - 1
|
||||
var mirror_y = Global.canvas.y_max + Global.canvas.y_min - _pos.y - 1
|
||||
|
||||
drawers[0].set_pixel(_sprite, _pos, _new_color)
|
||||
if h_mirror:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue