mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 07:16:38 +00:00
libcanvas/CanvasJournal.py:end(): purge patchesUndo if at patchesUndoLevel > 0.
assets/text/TODO: updated.
This commit is contained in:
parent
6e05238efa
commit
31b45d1076
@ -13,9 +13,8 @@ High-priority list:
|
|||||||
1) geometric primitives: arrow, circle, cloud/speech bubble, curve, heart, hexagon, line, pentagon, polygon, rhombus, triangle, square, star
|
1) geometric primitives: arrow, circle, cloud/speech bubble, curve, heart, hexagon, line, pentagon, polygon, rhombus, triangle, square, star
|
||||||
2) region filters: crop, duplicate, erase, fill, invert, measure, pick, rotate, scale, select, shift, slice, tile, translate
|
2) region filters: crop, duplicate, erase, fill, invert, measure, pick, rotate, scale, select, shift, slice, tile, translate
|
||||||
3) text tool: a) allow navigating w/ cursor keys b) Unicode set key & GUI w/ MRU
|
3) text tool: a) allow navigating w/ cursor keys b) Unicode set key & GUI w/ MRU
|
||||||
4) fix outstanding {re,un}do bugs
|
4) GUI: {de,in}crease cell size
|
||||||
5) GUI: {de,in}crease cell size
|
5) GUI: MRU {directories,files}
|
||||||
6) GUI: MRU {directories,files}
|
6) cleanup & refactor
|
||||||
7) cleanup & refactor
|
|
||||||
|
|
||||||
vim:ff=dos tw=0
|
vim:ff=dos tw=0
|
||||||
|
@ -13,6 +13,9 @@ class CanvasJournal():
|
|||||||
def end(self):
|
def end(self):
|
||||||
if self.patchesUndo[self.patchesUndoLevel] == [[], []]:
|
if self.patchesUndo[self.patchesUndoLevel] == [[], []]:
|
||||||
del self.patchesUndo[self.patchesUndoLevel]
|
del self.patchesUndo[self.patchesUndoLevel]
|
||||||
|
else:
|
||||||
|
if self.patchesUndoLevel > 0:
|
||||||
|
del self.patchesUndo[:self.patchesUndoLevel]; self.patchesUndoLevel = 0;
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ popCursor(self)
|
# {{{ popCursor(self)
|
||||||
def popCursor(self):
|
def popCursor(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user