Commit Graph

590 Commits (898403b3742b9a21df6abf955c497771124c6ee8)

Author SHA1 Message Date
Isaiah Odhner 190b1bdadb Clean up
(whoops)
2018-01-25 04:07:38 +00:00
Isaiah Odhner 6165ecaa66 Replace colors globally 2018-01-25 03:51:12 +00:00
Isaiah Odhner f97127bad9 Fix get_rgba_from_color
I had previously tried to 'optimize' it. Tisk, tisk.
2018-01-25 03:45:42 +00:00
Isaiah Odhner 79e0c6dbee
Merge branch 'gh-pages' into fix_chrome_app 2018-01-24 22:07:39 -05:00
Isaiah Odhner a31c2d2872 Add secret 10x zoom 2018-01-25 00:06:38 +00:00
Lawrence Okoth-Odida 62f06cbe98 Fix Load from URL in chrome app 2018-01-24 21:58:12 +00:00
Isaiah Odhner 712d113e92
Update CONTRIBUTING.md 2018-01-23 18:56:55 -05:00
Isaiah Odhner fbd62a04d0
Create CONTRIBUTING.md 2018-01-23 18:31:03 -05:00
Michael 79007205bd Duplicate selection with ctrl+leftClick (#62) 2018-01-22 17:49:29 -05:00
Isaiah Odhner 1ca9cc3310 Add message about exceeded Firebase quota
Hopefully temporary! (in favor of an actual error-handling message)
2018-01-22 22:12:29 +00:00
Isaiah Odhner 5730b0586b Update Firebase
Firebase quota is exceeded currently, so I can't (easily) test to see if this still works (under normal circumstances), but basically I'm trying to add error handling, but I seem can't find any docs on it! It's ridiculous!
2018-01-22 22:04:02 +00:00
Lawrence Okoth-Odida 8da06658eb Another refactor
- Rename and extract some methods and method signatures
- Add jsdocs to make arguments and return types clearer
- Add todo on refactoring localStorage
2018-01-22 21:46:57 +00:00
Lawrence Okoth-Odida 6b9a6d962c Fix initial white flicker
- Move theme loading from body to head tag
- Rename index.js to theme.js for clarity
2018-01-22 20:10:09 +00:00
Isaiah Odhner 0aba3854e5 Update README 2018-01-22 07:46:27 +00:00
Isaiah Odhner f645febad1 Improve storage manager
- Make the thumbnails always take up the same amount of space in the layout, so that the Remove buttons line up consistently between rows. This makes it considerably easier to remove multiple entries quickly.

- Make the thumbnails centered within said space, and link the entirety of that space to opening the item in a new tab.

- Fix target='_blank'; I probably conflated it with __proto__ etc.
2018-01-22 06:43:26 +00:00
Isaiah Odhner af7995df77 Disable image smoothing everywhere 2018-01-21 21:02:45 +00:00
Lawrence Okoth-Odida 591813bf2c Small refactoring/tidying 2018-01-21 18:18:02 +00:00
Lawrence Okoth-Odida 9c43fa9962 Fixes for chrome app
- Remove inline script (forbidden in chrome apps)
- Fix loading of initial css
- Allow users to open images from the file manager
2018-01-21 15:03:59 +00:00
Wei-Wei Wu 3375756dd6 Make selection border alternate white/black (#58) 2018-01-20 20:00:35 -05:00
Isaiah Odhner 28167e3f82 Rename multiplayer to multi-user
Is this some kind of game to you?? 😉
2018-01-20 22:45:19 +00:00
Isaiah Odhner fef3bc459f Update menus
- Group together the two items that deal with files and the internet (and that are not in mspaint)

- Use &U instead of &I because &I looks like &l

- De-duplicate &L

- Fix capitalization of 'As'
2018-01-20 21:41:27 +00:00
Isaiah Odhner b2b7949b5f Convert spaces to tabs 2018-01-20 21:25:40 +00:00
Michael 45febc58db Fix blurry image zoom in Firefox (#60) 2018-01-20 15:29:42 -05:00
Wei-Wei Wu 23d15cefbb Add uploading to Imgur (#52) 2018-01-20 15:25:24 -05:00
Isaiah Odhner 662bf53be8 Prevent back button hijacking 2018-01-19 06:57:39 +00:00
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