Commit Graph

565 Commits (029a556ab5cb98fbb32565f2c369bb9fa88b3a07)

Author SHA1 Message Date
Isaiah Odhner 15da7bf236 Add warning about incomplete implementation 2018-01-19 00:55:38 +00:00
Isaiah Odhner a0528594a7 Rename a thing 2018-01-18 03:17:28 -05:00
Isaiah Odhner 8c6928036f Nothin' 2018-01-18 02:40:06 -05:00
Isaiah Odhner 7e6cc52f44 Deselect before saving
Fixes #14
2018-01-18 02:37:47 -05:00
Isaiah Odhner 7bb78af987 Add resources 2018-01-18 02:24:03 -05:00
Isaiah Odhner d274679c01 Update TODOs 2018-01-18 01:56:44 -05:00
Isaiah Odhner 376fda7361 Optimize unnecessarily
and simplify returning an Array
2018-01-17 22:18:52 -05:00
Isaiah Odhner 8651176c1c Never use alert 2018-01-17 20:13:34 -05:00
Isaiah Odhner e251945f38 Allow switching transparency option of active selection
Also add some cleanup code to TextBox, while I'm at it
2018-01-17 20:13:02 -05:00
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