diff --git a/assets/text/TODO b/assets/text/TODO index c27f1ff..93fbb93 100644 --- a/assets/text/TODO +++ b/assets/text/TODO @@ -23,7 +23,8 @@ High-priority list: Queue: 1) scrolling bug: start @ top, down key til cursor below visible canvas, scroll down, cursor gone GRRRR 2) scrolling bug: scroll down, apply operator to entire canvas, scroll up -3) select-related {re,un}do bugs -4) clone selection lag +3) object tool: object size wrong occasionally w/ external objects +4) scrolling bug: scroll down, un/redo, scroll up +5) clone selection lag vim:ff=dos tw=0 diff --git a/libroar/RoarCanvasCommandsOperators.py b/libroar/RoarCanvasCommandsOperators.py index 55124a7..0107cea 100644 --- a/libroar/RoarCanvasCommandsOperators.py +++ b/libroar/RoarCanvasCommandsOperators.py @@ -45,10 +45,10 @@ class RoarCanvasCommandsOperators(): for numRow in range(len(region)): for numCol in range(len(region[numRow])): if not dirty: - dirty = True + self.parentCanvas.dirty = True self.parentCanvas.dispatchPatchSingle(eventDc, False, [numCol, numRow, *region[numRow][numCol]], viewRect) self.parentCanvas.canvas.journal.end() - self.parentCanvas.commands.update(dirty=dirty, undoLevel=self.parentCanvas.canvas.journal.patchesUndoLevel) + self.parentCanvas.commands.update(dirty=self.parentCanvas.dirty, undoLevel=self.parentCanvas.canvas.journal.patchesUndoLevel) setattr(canvasOperator_, "attrDict", f.attrList[idx]) return canvasOperator_ # }}}