libcanvas/CanvasJournal.py:begin(): don't reset patchesUndo{[],Level}.

assets/text/TODO: updated.
This commit is contained in:
Lucio Andrés Illanes Albornoz 2019-09-09 19:59:57 +02:00
parent 5f00b60cdd
commit c1ce141700
2 changed files with 0 additions and 3 deletions

View File

@ -18,6 +18,5 @@
d) switch from wxPython to GTK
e) {copy,cut,insert from,paste}
f) {fix,reduce} flickering when viewRect > (0, 0)
12) fix text tool {re,un}do bug when viewRect > (0, 0) & redo bug when redoing during cursor motion
vim:ff=dos tw=0

View File

@ -7,8 +7,6 @@
class CanvasJournal():
# {{{ begin(self)
def begin(self):
if self.patchesUndoLevel > 0:
del self.patchesUndo[0:self.patchesUndoLevel]; self.patchesUndoLevel = 0;
deltaItem = [[], []]; self.patchesUndo.insert(0, deltaItem);
# }}}
# {{{ end(self)