Commit Graph

557 Commits

Author SHA1 Message Date
Dávid Szabó
fefc635e25 Add function for reading file as array buffer 2016-10-01 14:34:01 +02:00
Dávid Szabó
8910bf0dbd Add model version 2 backward compatiblity 2016-10-01 14:34:01 +02:00
Dávid Szabó
f607c65789 Add model version 3 deserializer 2016-10-01 14:34:01 +02:00
Dávid Szabó
2962a838d3 Add model version 3 serializer 2016-10-01 14:34:01 +02:00
Dávid Szabó
7eab386122 Make sure opacity is a float and rounded 2016-10-01 14:34:01 +02:00
Dávid Szabó
0c0aa5f2c9 Add caching to CurrentColorsService 2016-10-01 14:34:01 +02:00
Dávid Szabó
bb7d5c862f Remove unnecessary rendering 2016-10-01 14:34:01 +02:00
Dávid Szabó
f0f79754f1 Remove loop and use the pixels directly 2016-10-01 14:34:01 +02:00
Dávid Szabó
a097d0b897 Fix frame processor caching 2016-10-01 14:34:01 +02:00
Dávid Szabó
a1ab693fb5 Remove nested loop 2016-10-01 14:34:01 +02:00
Dávid Szabó
7707aca03e Change nested loop and directly change pixels 2016-10-01 14:34:01 +02:00
Dávid Szabó
f829d589d5 Improve frame colors worker perfomance by caching 2016-10-01 14:34:01 +02:00
Dávid Szabó
712262b82a Format some code and remove unnecessary logging 2016-10-01 14:34:01 +02:00
Dávid Szabó
0bbb4ff2d5 Remove 2nd level cache 2016-10-01 14:34:01 +02:00
Dávid Szabó
6ee23e22df Throttle frameslist and preview rendering 2016-10-01 14:34:01 +02:00
Dávid Szabó
f5c98cf0b3 Rework pixel storage, manipulation, rendering 2016-10-01 14:34:01 +02:00
Dávid Szabó
06abdca62e Change model version to 3
The new serializing will use typed arrays / blob.
2016-10-01 14:34:01 +02:00
juliandescottes
f6be33d5bf Add performance figures to drawing tests 2016-10-01 13:09:19 +02:00
Dávid Szabó
3be2b3d3bc Add misc export: download selected frame as png 2016-09-23 16:35:22 +02:00
juliandescottes
e9ef6eb5b3 Issue #533: drawing tests, fix keyboard event replay on osx 2016-09-01 00:14:13 +02:00
juliandescottes
a2d5e6ff04 Issue #533: Fix drawing tests cross-browser/OS issues 2016-09-01 00:12:07 +02:00
Dávid Szabó
cbacd68414 Remove icons@2x.png from the repo 2016-08-31 22:40:22 +02:00
Dávid Szabó
53d728cf3a Make code more consistent 2016-08-26 01:11:03 +02:00
Dávid Szabó
d01f4ef83e Change onPiskelReady to support multiple callback 2016-08-24 22:43:16 +02:00
juliandescottes
9c6871effc Fix layout issue when starting with small viewport height 2016-08-16 10:33:19 +02:00
juliandescottes
2fe1fe67e5 Fix: flexbox issue on IE11 2016-08-16 10:06:42 +02:00
juliandescottes
8867324468 Fix zoom centering when zooming with keyboard shortcuts 2016-08-16 09:53:14 +02:00
juliandescottes
8e3ac50f81 Issue #290: cleanup unused code in SelectionManager 2016-08-16 01:04:55 +02:00
Julian Descottes
f4cbabe2ce Issue #290: selection tools: clear hasSelection flag when calling commitSelection 2016-08-16 00:40:01 +02:00
Julian Descottes
69393127fa Issue #290: rename dismissSelection to commitSelection 2016-08-16 00:40:01 +02:00
Julian Descottes
fc7fc6d9b0 Issue #290: Fix typo in comment 2016-08-16 00:40:01 +02:00
Julian Descottes
01aa4629cc Issue #290: Commit selection on ENTER 2016-08-16 00:40:01 +02:00
Julian Descottes
22797e5dc5 Issue #290: add missing parameter to dismissSelection in BaseSelect 2016-08-16 00:40:01 +02:00
Julian Descottes
0d5dc21a41 Issue #290: change boolean flag name to isMovingContent in BaseSelect 2016-08-16 00:40:01 +02:00
Julian Descottes
0d1210e71f Issue #290: fix wand cursor hotspot 2016-08-16 00:40:01 +02:00
Julian Descottes
34f2a9df0b Issue #163: show highlighter pixel for selection tools when no selection 2016-08-16 00:40:01 +02:00
Julian Descottes
a383e59280 Issue #290: allow to drag selection when using SHIFT while selection 2016-08-16 00:40:01 +02:00
epicabsol
77ccd60e77 Renamed lighten cursor
lighting.png -> lighten.png
2016-08-06 09:23:05 -07:00
epicabsol
17e6cf9b38 Dither & stroke cursors
Added dither and stroke cursors. The line on the stroke cursor is quite
hard to see, but I think that's pretty unaviodable. I would suggest
moving to a larger cursor size.
2016-08-05 22:32:24 -07:00
epicabsol
d795c297f5 Lighting cursor, more tweaks
Added an icon for the lighting tool, although it's somewhat difficult to
see what it is without looking closely. I'd love to hear other ideas for
a cursor. (See juliandescottes/piskel#351)
I also reworked the hit point of the existing cursors by a few pixels.
2016-08-05 21:34:46 -07:00
epicabsol
f4bf053564 Reworked circle drawing cursor
Reworked circle drawing cursor to match the style of the rectangle
cursor.
2016-08-05 20:33:18 -07:00
Julian Descottes
fdd4fb5b4e only update zoom for a valid modifier, fix zoom centering bug when using keyboard shortcuts 2016-07-30 00:01:32 +02:00
Julian Descottes
3e7999cfc5 Merge pull request #385 from smiegrin/master
Introduces zooming towards/away from mouse
2016-07-28 09:39:18 +02:00
Smie
f4c860ddfa Consolidates zooming into single function. 2016-07-26 09:28:18 -06:00
Julian Descottes
4895017ebb Fix viewport shaking on touchmove event on mobile/tablet 2016-07-26 12:13:49 +02:00
Smie
81b1bca7f5 Merge branch 'master' of https://github.com/juliandescottes/piskel 2016-07-25 14:40:58 -06:00
juliandescottes
0b1ec655ae retina: update lasso & shape select icons 2016-07-25 09:32:50 +02:00
juliandescottes
ba56a32b88 Issue #502: scroll selected layer into view when redrawing layer list 2016-07-24 19:21:07 +02:00
juliandescottes
a96bc0c72f retina icons 2016-07-24 17:06:47 +02:00
Lee Reilly
89c4044016 Replace 'alt' buttons with 'option' buttons on Macs 2016-07-20 12:35:05 -06:00