Commit Graph

1004 Commits

Author SHA1 Message Date
Jason Neufeld
c6287653f9 Moves the scaling factor into spritesheet export. Cleans up CSS and makes description spans with inline styles into divs. Adds a little more margin below the scaling factor so it's not too snug with the Download PNG button. 2015-09-06 11:53:10 -07:00
Jason Neufeld
bd8eaa4307 Uses ImageResizer for spritesheet export scaling. 2015-09-06 11:48:04 -07:00
Jason Neufeld
c0fda032e5 Reverts change to BlobUtils. 2015-09-06 11:42:13 -07:00
Jason Neufeld
72edf47734 Adds the ability to export a scaled spritesheet. 2015-08-31 11:21:17 -07:00
jdescottes
6b6674a04d Issue #215 : Dev environment : first undo/redo drawing test 2015-08-25 01:01:12 +02:00
jdescottes
754bc9b830 Issue #215 : Dev environment : support keyboard/undo/redo events in drawing tests 2015-08-24 23:56:09 +02:00
jdescottes
ff98670055 Selection Manager : fix undo/redo regression 2015-08-15 17:08:09 +02:00
jdescottes
4e1f6bee3f Build : add grunt desktop-mac target 2015-08-15 16:29:13 +02:00
jdescottes
6a4d3cb106 Keyboard Cheatsheet : extract color shortcuts to dedicated category 2015-08-14 00:01:47 +02:00
jdescottes
7048e1fd42 Palette toolbox : 1-9 shortcut styling update 2015-08-13 01:01:20 +02:00
juliandescottes
cd36c07a45 Add shortcut numbers for 1-9 palette colors 2015-08-13 00:44:47 +02:00
Julian Descottes
9f0aaceb5f Merge pull request #292 from juliandescottes/copy-paste-oob-crash
Copy paste oob crash
2015-08-09 15:55:12 +02:00
juliandescottes
99da69553c Copy paste out of bounds : added SelectionManager unit tests 2015-08-09 15:42:46 +02:00
juliandescottes
fdb5483e87 JSCS fixes 2015-08-09 12:51:25 +02:00
juliandescottes
1208324d4d Copy paste bug : add unit tests for FrameUtils with null value 2015-08-09 12:37:03 +02:00
juliandescottes
5437ad8651 Merge branch 'copy-paste-oob-crash' of https://github.com/juliandescottes/piskel into copy-paste-oob-crash 2015-08-09 01:49:47 +02:00
juliandescottes
c074217047 Add macos specific nodewebkit configuration 2015-08-09 01:22:25 +02:00
jdescottes
e0c9a46ed3 wip : needs tests 2015-08-07 08:37:13 +02:00
jdescottes
d962217f90 Issue #281 : Add app.settings & user pref for layer preview opacity 2015-07-26 02:00:46 +02:00
jdescottes
9800d85cb7 Add keyboard shortcuts 1 to 9 to quickly select palette colors 2015-07-24 01:16:47 +02:00
jdescottes
011b07c735 Palette editor : Fix blur delegation on Firefox 2015-07-22 00:10:56 +02:00
jdescottes
2fdc85556b Palette Editor : Fix color change from hex input 2015-07-21 23:40:55 +02:00
jdescottes
7a8efc56b0 Import dialog : image-preview style : display changed to block 2015-06-07 13:19:44 +02:00
jdescottes
0d81865f3b Adding button to reset.css font rules 2015-06-07 12:45:51 +02:00
jdescottes
12cfe16cb4 Cleaning up settings and dialogs CSS 2015-06-07 12:40:40 +02:00
Julian Descottes
e773f9ae6d Merge pull request #284 from JALissiak/spritesheetImport
Adding spritesheet import - fixes #188
2015-06-04 08:09:13 +02:00
James Lissiak
5c46cfe20a Updating for pull request feedback
- Using labels for the import type radio buttons
- Non animated gifs can now be imported as a spritesheet
- Fixing frame slicing to ignore a partial frame while looping
2015-06-03 19:48:29 -07:00
James Lissiak
2d9001db6e Updating the spritesheet import to use size
- The import dialog now allows users to select an option between single image or spritesheet importing
- The spritesheet option allows setting of the size of an indivdual frame and the offset from the left/top from which to start slicing frames
- Selecting the spritesheet option will display a frame slice grid over the preview image to give a quick view of where the frames will be made
- When importing the spritesheet blank (transparent) frames and also partial frames will be ignored
- This allows users to import spritesheets that have been packed into a larger image with excess padding
2015-06-02 21:54:26 -07:00
James Lissiak
8ff15fd0e1 Fixing the preview frame grid stroke
- The width/height of the canvas used to draw the frame grid in the preview was incorrect, so the stroke width was too thick
- This change fixes it so the stroke width remains nice and thin by applying the correct canvas size
2015-06-01 10:50:58 -07:00
James Lissiak
8e4ea8437f Fixing unnecessary whitespace changes
- My editor added additional whitespace to several unchanged lines, so I just reverted them
2015-06-01 10:38:10 -07:00
James Lissiak
48f24c0cf3 Adding spritesheet import
- Updated the import dialog to allow users to specify the number of frames in the image (which defaults to 1 x and 1 y)
- Setting the frame count for x and y will draw a dotted line in the preview that shows where the image will be split into individual frames
- When imported with a frame count above 1, the source image will be split into the different frames and loaded just as if it were an animated gif
- This allows users to import existing spritesheet pngs, including those produced by the piskel export function
2015-06-01 10:29:52 -07:00
juliandescottes
8d85093874 Fix GIF issue 2015-05-18 11:51:28 +02:00
juliandescottes
1beeb8d6e4 Revert "Fix a GIF bug ... again"
This reverts commit f9b07b29a9.
2015-05-18 11:47:48 +02:00
juliandescottes
f9b07b29a9 Fix a GIF bug ... again 2015-05-18 10:40:05 +02:00
juliandescottes
9bc330e5e8 Merge branch 'master' of https://github.com/juliandescottes/piskel 2015-05-13 11:21:24 +02:00
juliandescottes
a51e20b370 Fix #282 : Clean build of gif.js made the issue disappear ... 2015-05-13 11:20:44 +02:00
jdescottes
ef6ef6256e Merge branch 'master' of https://github.com/juliandescottes/piskel 2015-05-08 22:36:03 +02:00
jdescottes
4edbc29e72 Fix #281 : Zoom keyboard shortcuts on Firefox
Keycode not consistent on FF :
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode

Also added support for numpad +/- keys.
2015-05-08 22:34:29 +02:00
Julian Descottes
b72c775a04 Merge pull request #275 from MaxEden/master
Zip-Export: Split by layers option
2015-05-04 16:05:42 +02:00
jdescottes
0c9f04bc71 Prepare release 0.5.2 2015-05-03 11:43:38 +02:00
Max Eden
034057dcd2 Moved subfunctions to prototype 2015-04-30 13:17:56 +06:00
Max Eden
016316518d Zip-Export: Split by layers option 2015-04-29 20:20:35 +06:00
jdescottes
ac9ccd04e2 Fix currentcolors on sprites with many frames 2015-04-29 04:00:46 +02:00
juliandescottes
ce8d71f47e Fix : resize panel : maintain ratio is always on 2015-04-28 13:32:55 +02:00
jdescottes
29cd0d80f3 Prepare 0.5.1 release 2015-04-28 07:29:01 +02:00
jdescottes
d3f5a41c0d Fix popup preview on Firefox 2015-04-27 22:34:50 +02:00
jdescottes
3f181c6248 Fix gif export transparency issue 2015-04-27 22:23:35 +02:00
jdescottes
8ae14281cc Merge branch 'master' of https://github.com/juliandescottes/piskel 2015-04-26 23:34:09 +02:00
juliandescottes
9de77c9f21 Fix : Add mac os menu (removed with nw > 0.10) 2015-04-26 23:33:49 +02:00
jdescottes
d31865a9ef Update windows build scripts after nw version update 2015-04-26 22:46:40 +02:00