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 d7421197fd
commit 6311c32bde
2 changed files with 0 additions and 3 deletions

View File

@ -18,6 +18,5 @@
d) switch from wxPython to GTK d) switch from wxPython to GTK
e) {copy,cut,insert from,paste} e) {copy,cut,insert from,paste}
f) {fix,reduce} flickering when viewRect > (0, 0) 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 vim:ff=dos tw=0

View File

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