Commit Graph

1828 Commits

Author SHA1 Message Date
Julian Descottes
71962cf982 Merge pull request #42 from juliandescottes/add-historymgr
Added undo/redo feature
2012-09-06 16:14:11 -07:00
juliandescottes
f06f03a7f7 Added simple move tool 2012-09-07 01:08:25 +02:00
juliandescottes
14bf3f97c5 fixed bug when reaching stage 0 2012-09-07 00:56:31 +02:00
juliandescottes
17bf7b3807 Added undo/redo feature
* new file : HistoryManager.js
* can undo (ctrl-z) and redo (ctrl-y) changes performed through the
tools
* history states are recorded per frame
* a new state is recorder each time a tool is released (introduced
TOOL_RELEASED event for this purpose)
* a duplicated frame doesn't inherit the history states of the original
frame
* there is no limit to the number of states that can be stored per frame
* actions such as creating/duplicating/deleting a frame are not
concerned by this update
2012-09-07 00:18:59 +02:00
juliandescottes
8e3ee6f108 Merge branch 'master' into gh-pages 2012-09-06 23:13:37 +02:00
juliandescottes
9f36462d96 Fixed small bug with transparent color in palette 2012-09-06 23:12:35 +02:00
juliandescottes
0a2e2217c9 Fixed regression on color-picker 2012-09-06 23:10:02 +02:00
juliandescottes
f664ea4a7c Merge branch 'master' into gh-pages 2012-09-06 23:04:05 +02:00
Julian Descottes
1c12e92ce3 Merge pull request #40 from juliandescottes/add-secondarycolor
Added secondary color support.
2012-09-06 14:03:18 -07:00
juliandescottes
4c1c96095f Added secondary color support.
Added :
- second color picker
- removed automatic switch to eraser when using right click
- colors are automatically added to palette when selected
2012-09-06 22:37:19 +02:00
juliandescottes
b1a26ad3df Merge branch 'master' into gh-pages 2012-09-06 01:10:40 +02:00
juliandescottes
f2b1e433c0 realigned cursros hotspots 2012-09-06 01:09:02 +02:00
juliandescottes
5f0bdc34c0 Merge branch 'master' into gh-pages 2012-09-06 00:46:20 +02:00
juliandescottes
f723d4bbaf Removed debugging logs from event callbacks. 2012-09-06 00:45:49 +02:00
juliandescottes
e6449aa7e6 Merge branch 'master' into gh-pages 2012-09-06 00:43:42 +02:00
Julian Descottes
a3d313dda7 Merge pull request #37 from juliandescottes/fix-stroke-tool
oh well ...
2012-09-05 15:43:13 -07:00
juliandescottes
9a09f11650 oh well ... 2012-09-06 00:40:27 +02:00
juliandescottes
59c32e5328 Merge branch 'master' into gh-pages 2012-09-06 00:37:45 +02:00
Julian Descottes
d991441b5b Merge pull request #36 from juliandescottes/fix-stroke-tool
Fix stroke tool
2012-09-05 15:37:26 -07:00
juliandescottes
5a36f8a3a8 forgot to render the overlay 2012-09-06 00:36:45 +02:00
juliandescottes
03c56407d3 using clearOverlay 2012-09-06 00:35:02 +02:00
juliandescottes
b433dea1cf Merge branch 'master' into gh-pages 2012-09-06 00:25:46 +02:00
juliandescottes
8332b31fa7 fixed add button 2012-09-06 00:23:24 +02:00
juliandescottes
8a7245bfea onMouseUp triggering releaseToolAt unnecessarily 2012-09-06 00:14:32 +02:00
juliandescottes
d715c59966 Merge branch 'master' into gh-pages 2012-09-06 00:01:50 +02:00
Julian Descottes
870cecc989 Merge pull request #34 from juliandescottes/fix-rectangletool
Passed correct reference of drawingController when releasing tool
2012-09-05 15:00:44 -07:00
juliandescottes
070a83fd03 Passed correct reference of drawingController when releasing tool 2012-09-05 23:59:53 +02:00
juliandescottes
e7e2920aae Merge branch 'master' into gh-pages 2012-09-05 11:25:29 +02:00
juliandescottes
a73eb7d514 Changed eraser icon to fugue icon 2012-09-05 11:24:07 +02:00
juliandescottes
7f90caf1fc Merge branch 'master' into gh-pages 2012-09-05 08:19:42 +02:00
Julian Descottes
547d4affd1 Merge pull request #29 from captainbrosset/del-first-frame-bug
fixed bug where deleting first frame was failing
2012-09-04 23:19:09 -07:00
Patrick Brosset
2430e8f2ab fixed bug where deleting first frame was failing 2012-09-05 07:59:58 +02:00
Julian Descottes
3b70ce1c17 Merge pull request #27 from juliandescottes/extract-rendering
Extract rendering
2012-09-04 22:30:42 -07:00
juliandescottes
89be121dd1 Fixed animation preview when deleting 2012-09-05 00:42:25 +02:00
Julian Descottes
d4a326051a Merge pull request #26 from captainbrosset/draft-ui
series of tiny improvements to the ui
2012-09-04 15:20:29 -07:00
juliandescottes
53436009e3 Changed main-canvas to drawing-canvas 2012-09-05 00:13:45 +02:00
juliandescottes
1de9ee41b2 Finished first step of refactor. 2012-09-05 00:09:42 +02:00
Patrick Brosset
d4faba810d series of tiny improvements to the ui 2012-09-04 23:48:02 +02:00
juliandescottes
a567992a1d moved Frame and FrameSheet to model package 2012-09-04 22:40:54 +02:00
juliandescottes
69a03a3416 Previews are fixed. Removed drawing methods from piskel .js 2012-09-04 22:18:00 +02:00
juliandescottes
c261c370ad Removed old debugging method. 2012-09-04 21:27:49 +02:00
juliandescottes
4c4faa88e6 Moved drawing logic outside of tools. Previews and animations are broken. Performance is somehow degraded 2012-09-04 14:10:16 +02:00
juliandescottes
561c35c882 Adding Frame Renderer utility 2012-09-04 08:35:58 +02:00
juliandescottes
5e3748c97d Merge branch 'master' into gh-pages 2012-09-03 23:53:28 +02:00
juliandescottes
bd9f8f4489 Merge branch 'master' into extract-rendering 2012-09-03 23:33:46 +02:00
Julian Descottes
e4699da346 Merge pull request #22 from grosbouddha/create-palette-component
Create palette component
2012-09-03 14:32:16 -07:00
Vince
640d8346b7 Merge branch 'create-palette-component' 2012-09-03 22:49:42 +02:00
Julian Descottes
d8129d1fd3 Merge pull request #21 from juliandescottes/misc-eraserinherit
Eraser now inherits from SimplePen. Added a superclass property attached...
2012-09-03 13:35:13 -07:00
juliandescottes
3e02037b58 Removed all references to normalizeCOlor 2012-09-03 22:31:56 +02:00
Vince
4c611d80c5 Create palette component
Create Palette component (was inside the ToolSelector before)
Fix the palette generation as well.
2012-09-03 22:30:53 +02:00