Commit Graph

702 Commits

Author SHA1 Message Date
juliandescottes
8b1b21368c add gif export integration test 2017-01-29 02:42:42 +01:00
juliandescottes
d781df3290 add drawing test for center tool 2017-01-29 00:11:58 +01:00
Smie
35bfcb5f00 Refines Circle tool for PenSize = 1 2017-01-28 02:27:50 +01:00
Smie
cce4cde98b Corrects Circle tool for even dimensions. 2017-01-28 02:27:50 +01:00
Smie
4706587abb Rewrites Circle drawing tool to behave better with large pen sizes. 2017-01-28 02:27:50 +01:00
juliandescottes
ba779a97a6 fix #621 : allow color worker to detect up to 256 colors 2017-01-25 15:07:55 +01:00
juliandescottes
dc149f88d6 remove extra caching from CurrentColorsService 2017-01-25 14:59:09 +01:00
Zoee Silcock
9be332fad3 Allow adding multiple frames with drag and drop
This is a partial solution issue number #285. When dropping multiple images it creates a new frame for each one. It works great when all images are the same size and within the size of the piskel document. When the images aren't the size of the document they are positioned in the same way as single image import.
2017-01-22 11:16:18 +01:00
juliandescottes
11db5ca45c remove getBoundRectanglePixels from PixelUtils 2017-01-21 18:24:48 +01:00
Smie
f8b77403cd Improves Rectangle tool performance. 2017-01-16 11:52:22 -07:00
juliandescottes
acad4df49e fix typos in perf warning popup 2017-01-15 13:33:57 +01:00
juliandescottes
af92ee6bd7 increase height of performance info popup 2017-01-15 13:26:48 +01:00
juliandescottes
a740699775 increase appengine storage limit to avoid false positive 2017-01-15 13:08:41 +01:00
juliandescottes
6ce2c00acf force color black on brush size label 2017-01-15 13:00:15 +01:00
juliandescottes
5bde3c471d remove unused paletteController member from DrawingController 2017-01-15 12:35:38 +01:00
juliandescottes
94b1a1df4a History service gets core piskelController from public piskelController 2017-01-14 21:58:37 +01:00
juliandescottes
8cad3bb607 display error message on file load error 2017-01-14 21:37:52 +01:00
juliandescottes
a4952d0db2 fix #603 shape select fails when clicking outside drawing area 2017-01-13 15:07:05 +01:00
juliandescottes
42f4812b46 move drop image logic to FrameUtils, add unit test 2017-01-13 13:58:57 +01:00
juliandescottes
bf91c4ef62 Fix image dropper when image has to be moved 2017-01-13 13:22:21 +01:00
juliandescottes
03f37d46ac add unit tests for colorToInt 2017-01-13 03:31:02 +01:00
juliandescottes
0abd779348 fix #602 : shape selection fails with some colors 2017-01-13 02:59:59 +01:00
juliandescottes
33259e5522 nits on previewSize widget 2017-01-11 23:43:57 +01:00
juliandescottes
e8207aba57 update labels for preview size widget 2017-01-11 21:59:37 +01:00
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