Commit graph

424 commits

Author SHA1 Message Date
Victor Seiji Hariki
26a370eee8 add styles to logs
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-29 02:59:30 -03:00
Victor Seiji Hariki
833e817dc0 remove useless workspaces.js
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-29 02:15:39 -03:00
tim h
abde86d6b6 quick bandaid to let new installs work at least
should probably be fixed better
2023-01-28 14:34:04 -06:00
tim h
03b40a3f47 a few more commandLog values for dreams 2023-01-27 22:15:51 -06:00
Victor Seiji Hariki
2868f63941 fix save
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-27 01:46:34 -03:00
Victor Seiji Hariki
64085b09ac Merge branch 'main' into workspaces
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-27 01:42:20 -03:00
Victor Seiji Hariki
c4ef6ccce4 Workspaces now fully functional (using indexedDB)
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-27 01:40:27 -03:00
Victor Seiji Hariki
827349bf05 slimmer host text field
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-26 21:35:33 -03:00
Victor Seiji Hariki
d42837d597 Merge branch 'main' into workspaces
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-24 23:54:30 -03:00
Victor Seiji Hariki
f064719515 add some logging for #133
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-24 23:48:09 -03:00
Victor Seiji Hariki
af5b9b9680 Add history logging
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-24 23:37:38 -03:00
tim h
bd5581fdbf working upscaler API endpoint! 2023-01-24 16:55:45 -06:00
Victor Seiji Hariki
aabc35dc87 removed useless code
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-23 23:13:00 -03:00
tim h
85776d8637 "emergency" fix to just get upscalers working again
temporary as hell hardcoded list of "should be available to everyone from a fresh install" upscalers, subject to change upon bug reports
2023-01-23 17:58:16 -06:00
Victor Seiji Hariki
cb36c2b599 Maybe better than using new Image?
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-23 19:24:50 -03:00
Victor Seiji Hariki
fc8e6fb557 Quick fix for zoom to cursor and brush erase blur
Quick fix to some issues pointed out by @raivshard at #177

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-22 09:18:47 -03:00
Victor Seiji Hariki
006aa608e8 we have working workspaces!!
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-22 02:48:56 -03:00
Victor Seiji Hariki
59188a64bd Merge branch 'main' into workspaces 2023-01-21 13:51:58 -03:00
Victor Seiji Hariki
e92d8fa9b6 fixes #179
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-21 10:18:55 -03:00
tim h
6889affcad even better single image discard handling
sorry for pushing to main but these are tiny and don't deserve PRs lol
2023-01-20 19:33:42 -06:00
Victor Seiji Hariki
b1c52a859e Allow quick access by layer id
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-20 21:09:20 -03:00
Victor Seiji Hariki
fa82cfd35d Merge branch 'main' into workspaces
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-20 21:04:40 -03:00
tim h
b52e3dc2ba better single-image removal handling 2023-01-20 16:19:01 -06:00
Victor Seiji Hariki
09b4ce3151 Merge branch 'testing' 2023-01-18 22:44:37 -03:00
Victor Seiji Hariki
643f79fb84 Optimize background drawing by leveraging CSS
We now use CSS to background tile the grid

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-18 20:55:04 -03:00
Victor Seiji Hariki
9064a006d5 add send image to parent interface
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-17 00:03:43 -03:00
Victor Seiji Hariki
874e39de4b add Ctrl+A and Ctrl+Shift+A shortcuts to select
selects all layer content and all visible (still only on current layer)

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-16 23:21:16 -03:00
Victor Seiji Hariki
4596d4cc8d fixes #174
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-16 20:54:46 -03:00
zero01101
47a028b495 Prettified Code! 2023-01-16 23:08:23 +00:00
Patrick Abi Salloum
875d911aaa
Add default when ctrl is clicked while expanding
When the user Clicks the buttons to expand canvas, they get a prompt where they pick the value to expand by.
This makes it so that control click just expands the canvas by the default value without showing the prompt.
2023-01-16 23:43:20 +02:00
tim h
bea3c0fbe4 honestly not sure if hacky
refresh button on right-hand side of model selector is definitely better
GUARANTEE css is distressingly hacky
2023-01-15 10:31:27 -06:00
Victor Seiji Hariki
ff687c5f64 Merge branch 'main' into workspaces
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-15 01:30:49 -03:00
Victor Seiji Hariki
f5210b29b6 did bad
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-14 20:17:49 -03:00
Victor Seiji Hariki
28988f84bb no recreating div
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-14 20:08:02 -03:00
tim h
1556f8d792 fixes issue 167? 2023-01-14 16:33:39 -06:00
Victor Seiji Hariki
a591b20914 fix infinite recursion on zoom
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-14 18:53:46 -03:00
Victor Seiji Hariki
c30314b2ac remove now irrelevant TODO
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-14 18:46:01 -03:00
tim h
4f73aba5c2 lmao you are really making me feel guilty about not merging your version ;) 2023-01-14 09:47:50 -06:00
Victor Seiji Hariki
51095160f1 fix scaled rotate handle
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 23:41:01 -03:00
Victor Seiji Hariki
b590b6d124 remove debugging by default
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 23:03:15 -03:00
Victor Seiji Hariki
e198cf9af4 allow stamp rotation(drag) and scaling(wheel)
also adds shift as a 'finetune' for wheel. works for dream and stamp. if
shift is pressed, wheel will scale slower (not snapping to 128 for
dream, or 0.1 for stamp)

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 23:00:34 -03:00
Victor Seiji Hariki
c4d6826369 Merge branch 'main' into rotate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 21:51:25 -03:00
Victor Seiji Hariki
d764221d63 support select tool rotation
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 21:49:06 -03:00
Victor Seiji Hariki
5078265d14 fix select click
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 20:32:53 -03:00
Victor Seiji Hariki
e2afee3432 fix send to buttons
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 01:04:59 -03:00
Victor Seiji Hariki
9186d2a387 Merge branch 'testing' into rotate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 01:03:07 -03:00
Victor Seiji Hariki
35a62ae9fe back to original transform tool state
But way more flexible implementation

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-12 01:00:06 -03:00
Victor Seiji Hariki
d7e20f87dc putting back selection 1
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-11 00:36:14 -03:00
tim h
16c2b36c1b ...also implements 164 quite similarly 2023-01-10 17:00:45 -06:00
Victor Seiji Hariki
487f3bed0c implements #164
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 14:30:09 -03:00