Commit Graph

328 Commits (fe13c3bf2e0c771c4b8c5422627ee90da3e427b5)

Author SHA1 Message Date
Isaiah Odhner dceb5cbce6 Fix recently introduced component dragging issue 2014-10-28 20:02:44 -04:00
Isaiah Odhner f53c8d060e Make the component ghost go in front of the window
If you click on a window 495 times, the component ghost will start going
behind again.
2014-10-28 19:40:23 -04:00
Isaiah Odhner d6d6257cc5 Fix invisible issue with double-click docking
It generated silent errors because I forgot to add this check, only if
you double-clicked on a window on which that isn't supposed to do
anything. So yeah, that's fixed. Whatever, though.
2014-10-28 19:33:12 -04:00
Isaiah Odhner cd2c2b4049 Fix minor issue with double-click docking
Before, it didn't save where it docked to when you dragged a window onto
a side, so when you dragged a window onto a side, then dragged the
component back out into a window, then double-clicked on the title bar,
it would go to the wrong position. So yeah, that's fixed.
2014-10-28 19:23:31 -04:00
Isaiah Odhner c9e1fb5d30 Update README.md 2014-10-28 19:09:27 -04:00
Isaiah Odhner b0a35a133a Drag window and component together seamlessly
I replaced one thing on the todo list with three.
2014-10-28 02:17:17 -04:00
Isaiah Odhner 2194887ef8 Dock component windows with double click on titlebar
Double-click a component window's titlebar to dock the component to its
most recent location.
I also updated the code to attach/detatch event listeners dynamically
instead of checking a variable.
2014-10-28 02:04:41 -04:00
Isaiah Odhner 811085ac0d Show descriptions of menu items in the status bar 2014-10-27 23:07:46 -04:00
Isaiah Odhner ae66fda3c9 Add menu item description data 2014-10-27 22:17:00 -04:00
Isaiah Odhner ed642e5a1e Multiplayer: redraw cursor if color changes
Resolved "@TODO @FIXME: stop requesting this image for each and every
user" even though that wasn't really a problem
2014-10-27 16:23:55 -04:00
Isaiah Odhner 988a9b821b Multiplayer: sync immediately with fill tool 2014-10-26 21:24:14 -04:00
Isaiah Odhner 5f5b6e9504 Update TODO and @TODOs and comments 2014-10-26 21:16:43 -04:00
Isaiah Odhner 97400989c5 Multiplayer: loosen session id restrictions
At first I made it hexadecimal digits only, which was a totally
arbitrary and annoying restriction.
2014-10-26 19:53:50 -04:00
Isaiah Odhner c0d6c98ab4 Multiplayer: various code improvements
Leak less listeners
Add comments
Rename things
Fix data resurrection once and for all (probably)
Reduce the maximum lightness of the color of cursors
2014-10-26 18:32:16 -04:00
Isaiah Odhner 37705e06ba Multiplayer: avoid resurrection 2014-10-25 18:25:38 -04:00
Isaiah Odhner a227a7e2ec Multiplayer: clean up zombie users 2014-10-25 17:41:06 -04:00
Isaiah Odhner 4d1bd40371 Make transparent/opaque options use canvas 2014-10-25 15:32:39 -04:00
Isaiah Odhner 40d2045856 Invert airbrush size selection in Firefox
Firefox doesn't support filters (yet), so invert the selected tool
options with the canvas.
2014-10-25 14:15:39 -04:00
Isaiah Odhner 9f190ca75a Better magnification chooser 2014-10-25 02:06:20 -04:00
Isaiah Odhner 730e32e9b9 Remove selection.ctx (use selection.canvas.ctx) 2014-10-24 21:24:26 -04:00
Isaiah Odhner 9d85ead4a5 Helper function to construct canvases 2014-10-24 21:14:11 -04:00
Isaiah Odhner 3931434314 Selection.prototype.cut_out_background
Removed four instances of the word "hack" (or derivatives)
This will make it easier to transition from cutting the selection upon
instantiation to cutting when you do something with it.
2014-10-24 18:44:51 -04:00
Isaiah Odhner 3e925b5a1a Fix dialogue buttons being messed up (with hacks) 2014-10-24 17:38:39 -04:00
Isaiah Odhner 96f9c1cf39 Non-blurry selections 2014-10-24 15:06:45 -04:00
Isaiah Odhner 1be2ca535f Free-Form Select 2014-10-24 03:17:24 -04:00
Isaiah Odhner d68b3068ae Make Print Preview and Page Setup just call print()
...even though Page Setup isn't really even...
2014-10-23 21:45:28 -04:00
Isaiah Odhner e6f07034ec Access clipboard from menu items in Chrome app
Also, put commas everywhere.
2014-10-23 21:34:27 -04:00
Isaiah Odhner 9f6c20f3fc Update README and TODO 2014-10-23 20:54:05 -04:00
Isaiah Odhner 62734b3f87 Multiplayer user presence: cursors 2014-10-18 02:34:44 -04:00
Isaiah Odhner e365c883f1 Better multiplayer session support 2014-10-17 20:50:01 -04:00
Isaiah Odhner 9cccfa2c88 Multiplayer 2014-10-17 18:51:51 -04:00
Isaiah Odhner 0f4e48b9f7 Close menus on window blur 2014-10-15 18:33:59 -04:00
Isaiah Odhner 414916b828 Show GIF render progress percent 2014-10-15 18:05:59 -04:00
Isaiah Odhner 6a641e08ae Add error handling for GIF rendering 2014-10-15 12:56:00 -04:00
Isaiah Odhner 5437664285 Make image transformations work on pasted images
Sometimes selection.canvas is an Image, but apply_image_transformation
assumed it was always a Canvas
2014-10-02 17:25:49 -04:00
Isaiah Odhner a842ed22e1 Move tons of stuff out of menus.js
Now menus.js is pretty much just a data structure.
2014-10-02 17:17:43 -04:00
Isaiah Odhner 8e7e6cf396 Copy and Paste between instances of jspaint 2014-10-02 16:41:43 -04:00
Isaiah Odhner ff6db611a1 Update README and TODO and @TODO 2014-10-02 15:29:25 -04:00
Isaiah Odhner 40fdc04fd3 jspaint.ml 2014-10-01 17:41:45 -04:00
Isaiah Odhner 896779b1c4 Color Replacement
Color Replacement with the "Eraser/Color Eraser" tool
2014-10-01 16:51:25 -04:00
Isaiah Odhner dd691793f1 Move fill function out of tools.js 2014-10-01 15:46:35 -04:00
Isaiah Odhner 761f3f4e03 Handle transparency in fill tool 2014-10-01 15:17:40 -04:00
Isaiah Odhner 959e080f64 Better "Help" 2014-10-01 14:45:19 -04:00
Isaiah Odhner 532b9b7b4d Detect transparency in opened images 2014-09-29 17:12:32 -04:00
Isaiah Odhner 749949a403 Update README 2014-09-28 21:19:48 -04:00
Isaiah Odhner 9e393b7abb Reorganize and update TODO 2014-09-28 21:19:39 -04:00
Isaiah Odhner 89240588cb Fix issue where context menu was displayed
The color palette's cells have input[type=color]s in them, and they were
allowed context menus along with the input elements that actually need
them.
2014-09-26 08:01:16 -04:00
Isaiah Odhner 4485ab40fd Window z-indexing 2014-09-26 07:53:00 -04:00
Isaiah Odhner 639f7f35cc Draw Opaque
I don't know what the deal is with this menu item... It seems to just
toggle the transparent/opaque setting which as far I know only applies
to tools that have nice shiny options for that particular setting...
2014-09-26 07:34:40 -04:00
Isaiah Odhner 869321cd51 Flip / Rotate
Flip / Rotate (functionality) ✓
Apply image operations to the selection if there is one ✓
2014-09-26 07:18:52 -04:00