Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Fix undo bug. | 6ab126be633075923cdcce53044e2468f967db41 | Jan Allersma | 2018-09-20 10:46:50 |
Implement 'delete shape' feature. | 16d42472d44a9dae988c4745c90c791a8770541b | Jan Allersma | 2018-09-19 09:04:40 |
Fix undo/redo for 'MoveCmd'. | be51bea021bfe5ff79e16a92d350677aed736ddd | Jan Allersma | 2018-09-19 08:49:55 |
Implement shapeOptions without undo/redo. | bbe699f41e5dacbfdadfaa879452ac2f4501f5a1 | Jan Allersma | 2018-09-18 19:44:44 |
WIP: Restore 'shapeOptions.d'. | 888b8ea647c0f25cfbeefcd97ee7ebb59e7f0751 | Jan Allersma | 2018-09-18 15:46:05 |
Rebuild project from scratch. | df0f2f82a86581ba9fa3a169d63a950229341a9f | Jan Allersma | 2018-09-18 15:04:32 |
Add resize option. | 961e464090918d83690ff66838f2fc96c6ad213a | Jan Allersma | 2018-09-13 18:29:44 |
Make `MoveCmd` Command-oriented. | 2970a8d862285752551be2464422375ca958357f | Jan Allersma | 2018-09-12 15:33:17 |
Change of strategy: Make project command-oriented. | ce40dffb1675661922411eeb07f148f61a176c22 | Jan Allersma | 2018-09-12 11:35:45 |
Initial commit. | 38c8818349679937ae25dde38949202ec45ea7b2 | Jan Allersma | 2018-09-11 20:21:57 |
File | Lines added | Lines deleted |
---|---|---|
source/history.d | 2 | 0 |
File source/history.d changed (mode: 100644) (index ab42483..da42fb2) | |||
... | ... | static class History { | |
14 | 14 | ||
15 | 15 | public static void addCommand(Command cmd) { | public static void addCommand(Command cmd) { |
16 | 16 | belowZero = false; | belowZero = false; |
17 | if(cmdPtr != commands.length) | ||
18 | commands.length = cmdPtr; | ||
17 | 19 | commands.length++; | commands.length++; |
18 | 20 | writeln(commands.length); | writeln(commands.length); |
19 | 21 | commands[cmdPtr] = cmd; | commands[cmdPtr] = cmd; |