Commit Graph

678 Commits

Author SHA1 Message Date
Guillaume Martigny
2f47bc433c lint fix 2017-01-11 12:32:29 +01:00
Guillaume Martigny
9cd3fa03a0 Merge branch 'master' into 362-MultiSizePreview 2017-01-11 12:28:20 +01:00
Guillaume Martigny
d4b4192d45 Final : Specific tooltip while preview size selection disabled 2017-01-11 12:23:49 +01:00
juliandescottes
2cdc999875 Fix bug when opening save panel for sprite with performance problem 2017-01-09 09:10:20 +01:00
Julian Descottes
d30f6a05d1 add integration tests 2017-01-08 16:09:03 +01:00
Julian Descottes
76ae797a9e nits: typos and case 2017-01-08 11:55:09 +01:00
Nick Garland
5bd113b38f Removed reset from SelectedColorsService and implemented the reset in PaletteController 2017-01-04 18:28:58 +00:00
Julian Descottes
aa5d4d4090 Merge branch 'master' of https://github.com/juliandescottes/piskel 2017-01-02 23:35:07 +01:00
Julian Descottes
398d93557a remove unused argument in FileDropperService constructor 2017-01-02 23:34:54 +01:00
Julian Descottes
0733a5a142 Merge pull request #600 from zoeesilcock/363-firefox-dnd-bug
Workaround for incorrect frame selection after re-ordering on Firefox
2017-01-02 23:27:33 +01:00
Zoee Silcock
2dea7faea0 Workaround for incorrect frame selection after re-ordering on Firefox
This commit is related to the following issue: #363

When a frame is dropped both `mouseup` and `click` events are triggered on Firefox. This is somwhat expected behaviour but other browsers do not trigger the `click` event.

One would expect jquery-ui to work the same across all browsers but when they got a bug report they decided to not change anything:
https://bugzilla.mozilla.org/show_bug.cgi?id=787944

The most comon workaround appears to be to use the `clone` helper in jquery-ui sortable. Unfortunately this doesn't work because the cloned frame doesn't keep the contents of the canvas. This seemed like the cleanest workaround, here are a few others:
http://stackoverflow.com/questions/947195/jquery-ui-sortable-how-can-i-cancel-the-click-event-on-an-item-thats-dragged
2016-12-29 10:09:05 +01:00
Zoee Silcock
809737908c Add a setting for changing the color format shown in the color picker 2016-12-29 08:08:13 +01:00
Julian Descottes
b869d63211 remove useless comment 2016-12-27 00:56:18 +01:00
Julian Descottes
c0f7e7be52 jshint cleanup, move HTML to a template, add css classes 2016-12-27 00:56:18 +01:00
Julian Descottes
98527c6ded update notification style to use piskel theme colors 2016-12-27 00:56:17 +01:00
Julian Descottes
9518d570e6 display save to gallery warning if performance issue detected 2016-12-27 00:52:32 +01:00
Julian Descottes
01b9898181 improve serialization error detection for firefox 2016-12-27 00:52:32 +01:00
juliandescottes
184b2e48aa disable gallery save when if spritesheet size too big (WIP) 2016-12-27 00:52:32 +01:00
juliandescottes
e97a641e95 add constant for the max datastore accepted size 2016-12-27 00:52:32 +01:00
Julian Descottes
7eea5d672a fix hover image for minimap popup preview 2016-12-25 10:20:57 +01:00
Julian Descottes
537234b1d1 update minimap crop style 2016-12-24 11:09:12 +01:00
Julian Descottes
57936d90b1 fix jshint issue 2016-12-24 10:26:40 +01:00
Julian Descottes
ef8060c07d remove unused resizeNearestNeighbor util 2016-12-24 10:24:23 +01:00
Julian Descottes
8551a8546a fix #369 improve perf of grid rendering 2016-12-23 23:41:41 +01:00
Julian Descottes
eb84e87a13 add gold border on textfield:focus 2016-12-23 21:09:05 +01:00
Julian Descottes
ca3b789747 add user setting for seamless mode opacity 2016-12-22 23:27:00 +01:00
Julian Descottes
22dd474799 add border radius to settings export tabs 2016-12-22 22:33:04 +01:00
Julian Descottes
16151e8e95 remove text-shadow from settings panels 2016-12-22 22:21:32 +01:00
Julian Descottes
2f62be4927 simplify buttons styling 2016-12-22 14:21:21 +01:00
Julian Descottes
fbaccb03f2 introduce css variables 2016-12-22 13:06:01 +01:00
juliandescottes
dda566a218 fix broken serializer 2016-12-21 17:20:54 +01:00
Julian Descottes
6cc41ee07b add a warning popup when detecting an unsupported browser 2016-12-21 15:44:04 +01:00
juliandescottes
32070efcc1 save split: add comments and cleanup 2016-12-21 12:22:50 +01:00
juliandescottes
c743334a31 Switch back to line layout 2016-12-21 11:45:34 +01:00
juliandescottes
84419a1550 split saved piskel in chunks when serialization fails 2016-12-21 02:28:11 +01:00
juliandescottes
66c941dd25 support chunked layerData in regular deserializer 2016-12-18 11:36:11 +01:00
juliandescottes
dba62d2b0d add pskl.utils.Array.chunk 2016-12-18 09:16:52 +01:00
juliandescottes
58bfe16b27 performance warning: text cleanup 2016-12-18 06:52:44 +01:00
juliandescottes
57b37971f6 add svg warning icon 2016-12-17 10:19:17 +01:00
juliandescottes
8dab74ceea add text to warning notifications popup 2016-12-16 10:04:36 +01:00
juliandescottes
d0cca52f47 issue #555: add performance warning icon, show dialog 2016-12-16 07:49:15 +01:00
juliandescottes
58cf9f8390 issue #555 detect performance issues based on sprite specs 2016-12-16 07:49:15 +01:00
juliandescottes
49109e51c9 fix js error when resizing piskel (missing fps arg) 2016-12-16 07:02:31 +01:00
Julian Descottes
b21fc0490d remove unused previewController member in ImportService 2016-12-13 11:04:03 +01:00
Julian Descottes
25ede9ffff cleanup unused arguments in PiskelFileUtils 2016-12-13 11:00:58 +01:00
Julian Descottes
37d2861352 move fps info from preview controller to piskel model 2016-12-13 09:17:34 +01:00
Julian Descottes
2fe0b842a5 update pixijs export metadata app url 2016-12-13 07:28:55 +01:00
Julian Descottes
dd7ab574b9 Merge pull request #581 from PSeitz/savejson
add pixi export
2016-12-12 20:23:45 -10:00
Julian Descottes
16cfffa898 Merge pull request #579 from PSeitz/piskelcopy
Copy between piskels
2016-12-09 07:18:45 -10:00
Julian Descottes
732c3c2d76 Merge pull request #577 from GMartigny/559-TooLongLayerName
Add ellipsis to overflowing layer item name #559
2016-12-06 03:19:48 +01:00