Add support for "only" in the move param of .partsMatrix()
This commit is contained in:
parent
9bf9922d28
commit
07ede0a5c5
|
@ -1527,6 +1527,8 @@ class Boxes:
|
||||||
for i in range(rows):
|
for i in range(rows):
|
||||||
self.ctx.save()
|
self.ctx.save()
|
||||||
for j in range(width):
|
for j in range(width):
|
||||||
|
if "only" in move:
|
||||||
|
break
|
||||||
if width*i+j >= n:
|
if width*i+j >= n:
|
||||||
break
|
break
|
||||||
kw["move"] = "right"
|
kw["move"] = "right"
|
||||||
|
|
Loading…
Reference in New Issue