mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 07:16:38 +00:00
libroar/RoarCanvasCommandsOperators.py:canvasOperator(): correctly {pass,set} parentCanvas.dirty.
assets/text/TODO: updated.
This commit is contained in:
parent
c93c8dd8b0
commit
632e3a8ac1
@ -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
|
||||
|
@ -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_
|
||||
# }}}
|
||||
|
Loading…
Reference in New Issue
Block a user