OSDN Git Service
(root)
/
eliscolors
/
main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add Text Layer
[eliscolors/main.git]
/
ElisUndoManager.m
diff --git
a/ElisUndoManager.m
b/ElisUndoManager.m
index
eea3042
..
b28a9c0
100644
(file)
--- a/
ElisUndoManager.m
+++ b/
ElisUndoManager.m
@@
-38,7
+38,7
@@
index += 2;
}
-- (
void
)popOperation
+- (
ElisLayer*
)popOperation
{
NSData* data = [undoStack objectAtIndex:index-1];
ElisLayer* layer = [undoStack objectAtIndex:index-2];
@@
-48,6
+48,8
@@
[decoder finishDecoding];
index -= 2;
+
+ return layer;
}
- (void)redoOperation