juliandescottes
136506da40
issue #374 throttle calls to currentColorsService update function
2016-11-20 12:08:31 +01:00
juliandescottes
d08c101b11
issue #374 cap cached frames for cachedframeprocessor to 100
2016-11-20 01:10:05 +01:00
juliandescottes
4b50dfdb5b
issue #374 limit undo/redo to the last 500 states
2016-11-20 00:24:48 +01:00
Julian Descottes
e3b363d757
Fix regression when loading piskel files
2016-11-12 18:33:00 +01:00
Julian Descottes
440c28d0fd
Fix regression when loading piskel files
2016-11-12 18:32:21 +01:00
Smie
a560872df7
Stylistic changes to src/js/utils/PixelUtils.js
2016-10-28 18:39:00 -06:00
Smie
aca6c28b4b
Allows square brush size of up to 1,000,000 pixels using keyboard shortcuts.
2016-10-28 17:56:22 -06:00
Julian Descottes
8f493a8147
add comment in arraybuffer serialization helpers
2016-10-16 18:33:10 +02:00
Julian Descottes
73986c4e61
move arraybuffer serializer to dedicated subfolder
2016-10-16 18:28:12 +02:00
Julian Descottes
2a7957bce2
rollback to modelv2 for all serializations except history service
2016-10-16 00:22:06 +02:00
Julian Descottes
2b78456314
fix #554 : zooming in/out breaks drawing area on Safari
2016-10-10 18:14:06 +02:00
juliandescottes
4b378d48a2
trigger piskel_saved event after loading page sprite
2016-10-10 03:03:59 +02:00
juliandescottes
5faf4af7c9
fix page title update when loading existing piskel
2016-10-10 02:44:51 +02:00
juliandescottes
d947fe1c05
add blob type
2016-10-10 02:17:19 +02:00
juliandescottes
85336f9b9a
fix loading of v2 models
2016-10-10 01:47:26 +02:00
juliandescottes
91f637d2fd
fix color picker regression with intToColor missing
2016-10-09 23:59:16 +02:00
juliandescottes
7ae40d8794
fix pick color with middle mouse no longer workin
2016-10-09 23:59:16 +02:00
juliandescottes
5a39d6850e
fix backward compatibility issue on piskelapp.com
2016-10-09 23:59:16 +02:00
Julian Descottes
1624792f61
Fix transparency issues after deserialization
2016-10-09 13:09:28 +02:00
juliandescottes
dd58af30b9
close dialogs when clicking outside of the dialog container
2016-10-02 00:56:13 +02:00
juliandescottes
4e515f4820
use monospace instead of Courier
2016-10-02 00:49:49 +02:00
juliandescottes
71ec809aea
fix #502 : add smoothscroll polyfill
2016-10-02 00:23:26 +02:00
Dávid Szabó
9538e03928
Fix BackupService change JSON to new serialization
2016-10-01 14:34:01 +02:00
Dávid Szabó
e647826095
Move string to buffer converting code to utils
2016-10-01 14:34:01 +02:00
Dávid Szabó
5fe9081df1
Remove unneccessary frame version incrementing
2016-10-01 14:34:01 +02:00
Dávid Szabó
d4f038f97b
Move buffer to string converting to utils
2016-10-01 14:34:01 +02:00
Dávid Szabó
23a0768f8d
Fix wrong calculation of requried bytes
2016-10-01 14:34:01 +02:00
Dávid Szabó
4cc434edd6
Remove atob and btoa, it's already in base64
2016-10-01 14:34:01 +02:00
Dávid Szabó
26b3cf3a23
Remove unnecessary caching
2016-10-01 14:34:01 +02:00
Dávid Szabó
7e9c632efd
Remove unused sub variable
2016-10-01 14:34:01 +02:00
Dávid Szabó
6c50816830
Refactor downloadAsFile to accept blob
2016-10-01 14:34:01 +02:00
Dávid Szabó
38cbfe4fce
Fix FileDropperService to work with the new cb
2016-10-01 14:34:01 +02:00
Dávid Szabó
d775609183
Remove unneccessary frame version incrementation
2016-10-01 14:34:01 +02:00
Dávid Szabó
74f36daa7c
Break oneliner to multiple lines
2016-10-01 14:34:01 +02:00
Dávid Szabó
ffca6aa44c
Move intToHex to utils and change for to map
2016-10-01 14:34:01 +02:00
Dávid Szabó
6ea9c248d8
Remove unneccessary else if
2016-10-01 14:34:01 +02:00
Dávid Szabó
9c96c7eaf2
Fix missing variable and remove unnecessesary if
2016-10-01 14:34:01 +02:00
Dávid Szabó
c97ce34e6e
Fix consistency
2016-10-01 14:34:01 +02:00
Dávid Szabó
43f989919c
Remove unneccessary type check
2016-10-01 14:34:01 +02:00
Dávid Szabó
0ec8036670
Move Uint32Array.fill polyfill to utils
2016-10-01 14:34:01 +02:00
Dávid Szabó
3a2d837f5a
Decrease animated preview throttle to 300ms
2016-10-01 14:34:01 +02:00
Dávid Szabó
0f404d2b25
Refactor dom initialize flag
2016-10-01 14:34:01 +02:00
Dávid Szabó
5577c3ab5a
Fix GalleryStorageService
...
GalleryStorageService is sending JSON so it couldn't serialize the
ArrayBuffer which came from serializing the Piskel. In this commit it
sends the ArrayBuffer as an Array to the server so it can store it easily.
2016-10-01 14:34:01 +02:00
Dávid Szabó
baf8049ea6
Fix jshint errors
2016-10-01 14:34:01 +02:00
Dávid Szabó
74b7f93ddb
Fix code style errors
2016-10-01 14:34:01 +02:00
Dávid Szabó
fb97533cc9
Rework frameslist for better perfomance
2016-10-01 14:34:01 +02:00
Dávid Szabó
ebab5ecb3f
Change frameslist throttle from 1sec to 500ms
2016-10-01 14:34:01 +02:00
Dávid Szabó
37443ecdc2
Fix code style errors
2016-10-01 14:34:01 +02:00
Dávid Szabó
91f0d98d63
Fix wrong colors being in current colors
2016-10-01 14:34:01 +02:00
Dávid Szabó
fa716d7a6c
Fix ColorSwap and Bucket tool
2016-10-01 14:34:01 +02:00
Dávid Szabó
ac3e43bf61
Add caching to CurrentColorsService
2016-10-01 14:34:01 +02:00
Dávid Szabó
502eb1aac4
Fix missing name and description from v2
2016-10-01 14:34:01 +02:00
Dávid Szabó
218c0b511b
Fix callbacks to work with the new serializer
2016-10-01 14:34:01 +02:00
Dávid Szabó
a3fd2f0d89
Remove unnecessary argument
2016-10-01 14:34:01 +02:00
Dávid Szabó
c2b283be67
Fix services to use new serializer format
2016-10-01 14:34:01 +02:00
Dávid Szabó
dbbd57ae28
Fix old deserializers to match new callback func
2016-10-01 14:34:01 +02:00
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