mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 11:54:44 -04:00
Should fix #162
This commit is contained in:
parent
8634385b66
commit
02b91479ad
2 changed files with 2 additions and 1 deletions
|
@ -47,6 +47,7 @@ func _process(delta : float) -> void:
|
|||
orig_x = start_pos.x - mouse_pos_floored.x
|
||||
orig_y = start_pos.y - mouse_pos_floored.y
|
||||
if move_pixels:
|
||||
img.unlock()
|
||||
img.resize(polygon[2].x - polygon[0].x, polygon[2].y - polygon[0].y, 0)
|
||||
img.lock()
|
||||
for i in range(Global.selected_pixels.size()):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue