Commit Graph

556 Commits (c1d99d03c72a8f5b96c01f1d6d73318de8bdca5d)

Author SHA1 Message Date
Isaiah Odhner 087c3a7fd1 Add live-server as a dev dependency 2018-01-15 17:09:55 -05:00
Isaiah Odhner 263e53c91a Implement better selection cutting
- Fix stupid selection behavior with partially transparent images (nonbinary transparency)
- Implement tool options for Select and Free-Form Select, but only when cutting the selection (and it doesn't support treating partially transparent background colors as transparency)
- Fix broken OK buttons on error messages if multiple opened, due to an accidental global variable
2018-01-13 18:02:50 -05:00
Isaiah Odhner 36d8b7a2b1 Fix blur when drawing selection after rotation
Note tradeoff in code comment
2018-01-13 16:57:19 -05:00
Isaiah Odhner b736695741 Update dependencies 2018-01-13 00:40:53 -05:00
Isaiah Odhner c44c493c1e Add package-lock.json 2018-01-13 00:29:24 -05:00
Isaiah Odhner 16a7b0bfb2 Fix dragging pasted selections when magnified 2018-01-13 00:15:32 -05:00
Isaiah Odhner ae61a2ba46 Improve error in case storage is unavailable 2018-01-12 23:39:37 -05:00
Isaiah Odhner 5399cf254f Fix theme switching
Broken in 4e94f5982d

It should have been a harmless simplification, but I neglected to test it (only testing the error handling part of that feature; I'd have to have started a web server to test it where it can actually work), and some API designers decided to go with terseness.
2018-01-12 18:24:24 -05:00
Isaiah Odhner f86234c051 Allow middle-click scrolling 2018-01-11 18:17:01 -05:00
Isaiah Odhner 37bf2655ec Style Help Topics in modern theme 2018-01-11 17:46:28 -05:00
Isaiah Odhner 4e94f5982d Refactor and improve error handling 2018-01-11 13:14:49 -05:00
Isaiah Odhner 8ced06c435 Paste image by URL 2018-01-11 02:45:26 -05:00
Isaiah Odhner ec64ef4e91 Mark selection transparency tool options as disabled 2018-01-10 21:42:58 -05:00
Isaiah Odhner a3bcd43f2b Show component ghosts in modern theme 2018-01-10 18:50:34 -05:00
Isaiah Odhner 80b7f7550e Make handles work in the Modern theme 2018-01-10 18:18:26 -05:00
Isaiah Odhner 01e7ba0e66 Keep "#load:" in URL until "change" event
Also move the error message for loading from a URL into a separate window, and add info about CORS
2018-01-10 01:27:54 -05:00
Isaiah Odhner 2832f37358 Add Load From URL 2018-01-09 22:42:38 -05:00
Isaiah Odhner e5da341d48 Add missing canvas resize triggers
Fixes #8

For some of these times, it would already resize, but not immediately; there would be a frame where it was shown stretched.
2017-10-30 17:02:45 -04:00
Isaiah Odhner b6f0132ea7 Minor changes 2017-10-30 15:37:46 -04:00
Isaiah Odhner 5bdcd9a19e Fix unguarded localStorage access 2017-10-30 15:36:29 -04:00
Isaiah Odhner c3742cdad3 Fix unspecified file extension when saving
File was saved without an extension in Firefox, and Edge even added a txt extension by default!

Also make some other extension handling hopefully more robust or at least consistent.
2017-10-30 01:27:25 -04:00
Isaiah Odhner 2f7c985713 Update TODO 2017-10-30 01:23:01 -04:00
Isaiah Odhner 2832598fb3 Update TODO
(including formatting)
2017-10-26 00:02:46 -04:00
Isaiah Odhner 575bff1a1e Fix 404 on default help page
Fixes #19
2017-10-25 01:58:06 -04:00
Isaiah Odhner ddab1f8bd4 Add some old future code 2017-10-25 01:48:24 -04:00
Isaiah Odhner 4a2c9ace59 Fix Colors box in modern theme
And when switching themes
2017-06-29 04:35:46 +00:00
Isaiah Odhner 7cecb3f3c8 Fix editing colors
Either of these changes should fix it. But why not both?
2017-06-24 19:58:51 +00:00
Isaiah Odhner fd89eb8b1d Display patterns when selected 2017-06-24 19:35:49 +00:00
Isaiah Odhner c108c894a3 Switch back to color palette
Switch back to the polychrome palette when turning monochrome mode off.

Also refactor towards displaying selected patterns.
2017-06-24 18:28:23 +00:00
Isaiah Odhner c9b1578735 Add black outline for patterns 2017-06-24 15:23:13 +00:00
Isaiah Odhner 949b18d23b Partially implement B&W mode 2017-06-24 06:22:29 +00:00
Isaiah Odhner 2aec89d0a2 Rename help page files 2017-06-02 05:21:50 +00:00
Isaiah Odhner 00c2dc6911 Update TODO and README 2017-06-02 04:59:44 +00:00
Isaiah Odhner 6c65c0cb80 Add checkered background for transparency
Resolves https://github.com/1j01/jspaint/issues/11
2017-05-30 23:07:02 +00:00
Isaiah Odhner 7ac0cf4251 Fix double focus ring
In Firefox 50 at least
2017-05-30 03:05:05 +00:00
Isaiah Odhner 230f5f4eee Make menu bar into a component
9d348c3d70
2017-05-26 16:31:26 -04:00
Isaiah Odhner 78f23a2494 Fix unit options label 2017-05-25 03:32:31 +00:00
Isaiah Odhner 7d22db9caa Fix flood fill algorithm
Fixes #10
2017-05-25 03:07:10 +00:00
Isaiah Odhner d92054dfd1 Remove all .jspaint-* prefixes 2017-05-23 06:04:23 +00:00
Isaiah Odhner c05eaf0547 Remove other button classes 2017-05-23 05:50:17 +00:00
Isaiah Odhner da94b2b994 Prevent selecting in component windows 2017-05-23 05:44:58 +00:00
Isaiah Odhner 5d919a32de Remove .jspaint-button class 2017-05-23 03:58:35 +00:00
Isaiah Odhner f2033921cc Disable some debug logging 2017-05-23 03:26:28 +00:00
Isaiah Odhner 9cb18fa504 Clarify direction snapping code 2017-05-23 03:25:40 +00:00
Isaiah Odhner 6fe7aaa0e4 Fix extra scrollbar buttons on textbox 2017-05-23 02:54:26 +00:00
Isaiah Odhner 557923391b Update scrollbars
And the selection color
2017-05-18 18:29:26 +00:00
Isaiah Odhner 8f66c81d1e Pixelate when zoomed in 2017-05-18 06:20:46 +00:00
Isaiah Odhner 4eaa87a3a9 Clean up
Not ideals, just consistency
2017-02-04 19:42:31 -05:00
Isaiah Odhner d1ae4f1b21 Add visual tests for more windows 2017-02-04 19:33:59 -05:00
Isaiah Odhner 764cbac87a Merge in PhantomCSS testing 2017-02-04 17:02:40 -05:00