mirror of
https://github.com/wassname/sloth.git
synced 2026-07-11 23:09:06 +08:00
allow insertion of rects outside of the image, closes #11
This commit is contained in:
@@ -78,6 +78,9 @@ class RectItemInserter(ItemInserter):
|
||||
|
||||
event.accept()
|
||||
|
||||
def allowOutOfSceneEvents(self):
|
||||
return True
|
||||
|
||||
class FixedRatioRectItemInserter(RectItemInserter):
|
||||
def __init__(self, scene, mode=None):
|
||||
RectItemInserter.__init__(self, scene, mode)
|
||||
|
||||
Reference in New Issue
Block a user