This commit is contained in:
OverloadedOrama 2020-02-17 18:28:55 +02:00
parent 8634385b66
commit 02b91479ad
2 changed files with 2 additions and 1 deletions

View file

@ -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()):