Commit graph

75 commits

Author SHA1 Message Date
tim h
c8ef073531 not even fixes 2023-01-31 18:14:52 -06:00
tim h
02bf04c257 kinda janky identical pixel removal?
surprise

"manual scripts" has kinda become inadequate for all this branch is doing now lol
2023-01-29 16:39:00 -06:00
tim h
759b396f6d Merge branch 'main' into manual-scripts
# Conflicts:
#	index.html
2023-01-28 23:34:06 -06: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
5cb27b890d Merge branch 'main' into manual-scripts 2023-01-28 14:37:24 -06: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
8eef3392ed Merge branch 'main' into manual-scripts
# Conflicts:
#	index.html
#	js/ui/tool/dream.js
2023-01-28 09:47:41 -06: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
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
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
13e29898a3 fix param type issue
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-21 13:06:21 -03: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
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
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
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
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
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
Victor Seiji Hariki
8d88ca6632 Merge branch 'transform-vp' into rotate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:08:48 -03:00
Victor Seiji Hariki
857cb29c12 migrates vp to DOMMatrix implementation
breaks select, but it was broken anyway.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:03:28 -03:00
Victor Seiji Hariki
b056f81155 test
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-08 18:21:08 -03:00
Victor Seiji Hariki
02a0fb82dd workspaces
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-07 09:46:33 -03:00
Victor Seiji Hariki
e54f0977dc seems I broke redo
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 21:52:45 -03:00
Victor Seiji Hariki
a2a7c7266f wtf
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 21:32:10 -03:00
Victor Seiji Hariki
941d44b365 Allow extra information in history
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 18:33:29 -03:00
Victor Seiji Hariki
967b49842f fix dream cursor shows on img2img
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-03 12:50:38 -03:00
Victor Seiji Hariki
b186ef4c22 some space-saving measures for checkboxes
Some eye-candy as well

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-02 21:12:18 -03:00
tim h
5fbf9c37f2 marginally less ugly inpaint mode selector
really don't think it has any need to be a full-on autocomplete fancy thingy
2023-01-01 10:31:49 -06:00
tim h
370994a5d2 extremely ugly WIP implementation of img2img inpaint fill modes 2022-12-31 13:31:31 -06:00
Victor Seiji Hariki
77f40a7928
Merge branch 'main' into testing 2022-12-30 16:25:53 -03:00
Victor Seiji Hariki
4ebdd9ffa6
Only consider text input focus as active
This resolves comment on #116

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-30 16:17:29 -03:00
Victor Seiji Hariki
81e3cc984a add color indication for inpainting models
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-30 08:26:28 -03:00
Victor Seiji Hariki
a95906dc8a sync should now work a bit better; #116
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-29 02:39:32 -03:00
Victor Seiji Hariki
61da4b9d58 fix some errors/better dragging + evaluate
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 18:05:09 -03:00
Victor Seiji Hariki
a47fc3ee25 fix wheel validate() handling
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 17:59:45 -03:00
Victor Seiji Hariki
3d298473b7 An easy fix for mouse wheel scrolling
Relates to #116

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-25 23:29:03 -03:00
Victor Seiji Hariki
42967f0a9a make cursors less finicky
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-21 18:29:11 -03:00
Victor Seiji Hariki
518e60f44a fix select interaction with layers and wrong sampler
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-21 14:30:35 -03:00
Victor Seiji Hariki
d571eca7b0
some quick fixes for older browsers/documentation
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-18 11:26:47 -03:00
Victor Seiji Hariki
8a0b9d2e8d fix saving canvas negative images
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 02:07:10 -03:00
Victor Seiji Hariki
fc7302f8fa fix snapping for negative i values
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 01:20:51 -03:00
Victor Seiji Hariki
701e1573bc fix fully negative values on cropCanvas
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 00:43:36 -03:00
Victor Seiji Hariki
ea68e25cf0 canvas scaling?
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 00:21:28 -03:00
Victor Seiji Hariki
9a81946eef now selection dream compatible with mouse functions
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-15 09:57:41 -03:00
Victor Seiji Hariki
5e6b18503b Should mostly solve #94
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-14 15:12:44 -03:00
Victor Seiji Hariki
7a96d77a7e fix autocomplete value reader and now use blob
It should fix #93

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 23:54:38 -03:00