mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 23:36:36 +00:00
libroar/RoarCanvasCommandsOperators.py:canvasOperator(): correctly {pass,set} parentCanvas.dirty.
assets/text/TODO: updated.
This commit is contained in:
parent
4d4ce6f86e
commit
447d068c8b
@ -23,7 +23,8 @@ High-priority list:
|
|||||||
Queue:
|
Queue:
|
||||||
1) scrolling bug: start @ top, down key til cursor below visible canvas, scroll down, cursor gone GRRRR
|
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
|
2) scrolling bug: scroll down, apply operator to entire canvas, scroll up
|
||||||
3) select-related {re,un}do bugs
|
3) object tool: object size wrong occasionally w/ external objects
|
||||||
4) clone selection lag
|
4) scrolling bug: scroll down, un/redo, scroll up
|
||||||
|
5) clone selection lag
|
||||||
|
|
||||||
vim:ff=dos tw=0
|
vim:ff=dos tw=0
|
||||||
|
@ -45,10 +45,10 @@ class RoarCanvasCommandsOperators():
|
|||||||
for numRow in range(len(region)):
|
for numRow in range(len(region)):
|
||||||
for numCol in range(len(region[numRow])):
|
for numCol in range(len(region[numRow])):
|
||||||
if not dirty:
|
if not dirty:
|
||||||
dirty = True
|
self.parentCanvas.dirty = True
|
||||||
self.parentCanvas.dispatchPatchSingle(eventDc, False, [numCol, numRow, *region[numRow][numCol]], viewRect)
|
self.parentCanvas.dispatchPatchSingle(eventDc, False, [numCol, numRow, *region[numRow][numCol]], viewRect)
|
||||||
self.parentCanvas.canvas.journal.end()
|
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])
|
setattr(canvasOperator_, "attrDict", f.attrList[idx])
|
||||||
return canvasOperator_
|
return canvasOperator_
|
||||||
# }}}
|
# }}}
|
||||||
|
Loading…
Reference in New Issue
Block a user