1837 Commits

Author SHA1 Message Date
c0182952c9 Merge pull request #622 from juliandescottes/fix-current-colors
Fix current colors
2017-01-25 15:08:30 +01:00
ba779a97a6 fix #621 : allow color worker to detect up to 256 colors 2017-01-25 15:07:55 +01:00
dc149f88d6 remove extra caching from CurrentColorsService 2017-01-25 14:59:09 +01:00
ac08ff8b82 Merge pull request #620 from zoeesilcock/285-import-multiple-frames
Allow adding multiple frames with drag and drop
2017-01-24 00:11:39 +01:00
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
11db5ca45c remove getBoundRectanglePixels from PixelUtils 2017-01-21 18:24:48 +01:00
37445202f3 Merge pull request #618 from smiegrin/rectanlgeRetool
Improves Rectangle tool performance.
2017-01-21 18:19:56 +01:00
f8b77403cd Improves Rectangle tool performance. 2017-01-16 11:52:22 -07:00
74d8aa8c9c migrate copy script to node 2017-01-15 14:13:05 +01:00
acad4df49e fix typos in perf warning popup 2017-01-15 13:33:57 +01:00
af92ee6bd7 increase height of performance info popup 2017-01-15 13:26:48 +01:00
a740699775 increase appengine storage limit to avoid false positive 2017-01-15 13:08:41 +01:00
6ce2c00acf force color black on brush size label 2017-01-15 13:00:15 +01:00
93db679dd7 release: bump version to 0.10.0-RC1 2017-01-15 12:51:10 +01:00
5bde3c471d remove unused paletteController member from DrawingController 2017-01-15 12:35:38 +01:00
94b1a1df4a History service gets core piskelController from public piskelController 2017-01-14 21:58:37 +01:00
8806c41892 Merge pull request #615 from juliandescottes/load-error-msg
display error message on file load error
2017-01-14 21:53:52 +01:00
8cad3bb607 display error message on file load error 2017-01-14 21:37:52 +01:00
552d4fa710 nits on test/js/utils/PixelUtilsTest_visit_connected.js 2017-01-14 15:44:47 +01:00
b11f7a430d add unit test for getSimilarConnectedPixelsFromFrame 2017-01-14 00:56:24 +01:00
a4952d0db2 fix #603 shape select fails when clicking outside drawing area 2017-01-13 15:07:05 +01:00
42f4812b46 move drop image logic to FrameUtils, add unit test 2017-01-13 13:58:57 +01:00
bf91c4ef62 Fix image dropper when image has to be moved 2017-01-13 13:22:21 +01:00
03f37d46ac add unit tests for colorToInt 2017-01-13 03:31:02 +01:00
0abd779348 fix #602 : shape selection fails with some colors 2017-01-13 02:59:59 +01:00
33259e5522 nits on previewSize widget 2017-01-11 23:43:57 +01:00
e8207aba57 update labels for preview size widget 2017-01-11 21:59:37 +01:00
b03b4a7c60 Merge pull request #567 from GMartigny/362-MultiSizePreview
Add a dropdown for preview size options [1x, best, full]
2017-01-11 21:56:23 +01:00
2f47bc433c lint fix 2017-01-11 12:32:29 +01:00
9cd3fa03a0 Merge branch 'master' into 362-MultiSizePreview 2017-01-11 12:28:20 +01:00
d4b4192d45 Final : Specific tooltip while preview size selection disabled 2017-01-11 12:23:49 +01:00
d5199d38aa remove css variables from built css (edge :( ) 2017-01-11 01:13:56 +01:00
ab082b9f4a set nwjs downloadURL to https 2017-01-09 09:27:49 +01:00
2ec6c4b848 upgrade nwjs to 0.19.4 2017-01-09 09:19:12 +01:00
2cdc999875 Fix bug when opening save panel for sprite with performance problem 2017-01-09 09:10:20 +01:00
4c6d2c1e48 Merge pull request #607 from juliandescottes/controller-tests
Add first integration tests
2017-01-09 00:43:46 +01:00
95256071e1 add missing EOF new lines 2017-01-08 20:43:15 +01:00
b86ec72a4e use evalLine in integration/settings/test-resize 2017-01-08 20:42:00 +01:00
70085bc056 Add integration tests for resize content and resize from other origin 2017-01-08 20:38:12 +01:00
a328e4d20e add resize test checking frame content
Moved shared methods to a head.js file
2017-01-08 19:56:53 +01:00
569b508fd5 mutualize casperjsOptions in gruntfile 2017-01-08 16:39:55 +01:00
d30f6a05d1 add integration tests 2017-01-08 16:09:03 +01:00
76ae797a9e nits: typos and case 2017-01-08 11:55:09 +01:00
61c76f980a Merge pull request #605 from Sal0hcine/fix-reset-default-colours
Pressing "d" for default colors doesn't fully work. #601
2017-01-05 11:44:49 +01:00
5bd113b38f Removed reset from SelectedColorsService and implemented the reset in PaletteController 2017-01-04 18:28:58 +00:00
aa5d4d4090 Merge branch 'master' of https://github.com/juliandescottes/piskel 2017-01-02 23:35:07 +01:00
398d93557a remove unused argument in FileDropperService constructor 2017-01-02 23:34:54 +01:00
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
835cee37aa Merge pull request #599 from zoeesilcock/563-color-format-preference
Add a setting for changing the color format shown in the color picker
2017-01-02 23:09:19 +01:00
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