Victor Seiji Hariki
de4823e749
tool name no longer renders and breaks things
...
tool name now functions okay when cursor has 0 size
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 23:09:30 -03:00
Victor Seiji Hariki
5f16b8b21d
some more visual tweaks
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 20:08:55 -03:00
Victor Seiji Hariki
e16800e5cf
add tool identifier to reticle (it was too similar)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 20:00:50 -03:00
Victor Seiji Hariki
2c82c0468f
some visual changes to image generation
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 18:28:34 -03:00
Victor Seiji Hariki
55de66a127
fix some console debug messages
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 12:32:37 -03:00
Victor Seiji Hariki
8df0649553
first gradient tooling test (img2img gradient border mask)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 18:58:46 -03:00
Victor Seiji Hariki
14df643326
layers?
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 16:22:35 -03:00
Victor Seiji Hariki
aec096b856
layers... now exist?
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 08:00:39 -03:00
Victor Seiji Hariki
c35742b68f
removed download/no more dream tool softlocks
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 13:20:35 -03:00
Victor Seiji Hariki
59e783d159
no more scale factor, support for dream cursor size
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 10:05:14 -03:00
Victor Seiji Hariki
4681113f81
finer sliders
...
Now sliders can have a better precision when editing text than when
dragging.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 07:56:48 -03:00
Victor Seiji Hariki
9dcef66c21
some optimization
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-01 18:05:14 -03:00
tim h
e0eed2831c
so much better
2022-11-30 21:25:06 -06:00
tim h
4dafe50248
tiny fix to reintroduce mask removal on image accept
2022-11-30 20:20:57 -06:00
Victor Seiji Hariki
af0fb5f198
fix #63
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 22:08:14 -03:00
Victor Seiji Hariki
7394ffff57
Add back "Enter" shortcut
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 19:18:32 -03:00
Victor Seiji Hariki
ce78370eb3
fix reject shortcut and add + shortcut to dream
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-30 18:57:40 -03:00
Victor Seiji Hariki
e5597889f2
Add shortcuts for image choosing/fix cursor
...
Add some shortcuts to dream image selection and fix strange cursor
behavior on resource add from dream. (l/r arrow keys for navigation,
enter for image select; esc for reject)
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 23:48:07 -03:00
Victor Seiji Hariki
6b0a25c15e
remove debug message and fix snap coords
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 20:43:13 -03:00
Victor Seiji Hariki
b2d51d40d4
pixel things seem to have been fixed
...
At least temporarily, still want to check what causes smaller canvases
to break pixel perfection
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 19:47:19 -03:00
Victor Seiji Hariki
44cf9c0e70
Layers.
...
Been working on this when I could the last few days.
Not quite infinity. Middle mouse button drag, ctrl mouse wheel zoom.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-29 17:55:25 -03:00
Victor Seiji Hariki
83470ebba3
input.js types and move type definitions
...
Moved type definitions to .d.js files to avoid clutter and network
overhead. Added typing to input.js, but still no event typing
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-28 19:48:42 -03:00
tim h
1496c88382
remove commented out console.log entries
...
just wanted to make sure they existed in history
2022-11-27 13:24:28 -06:00
tim h
2574793e4f
finally
2022-11-27 13:21:17 -06:00
Victor Seiji Hariki
fe2ebec569
Mask now colorful depending on inversion
...
Blue masking means SD will try to keep image as-is under the mask. Red
masking means SD will try to replace whatever is under the mask. (Red is
default masking, Blue is inverted masking)
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 22:35:16 -03:00
Victor Seiji Hariki
fe4b50cb8d
fix mask brush and add full resolution img2img
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 16:59:24 -03:00
Victor Seiji Hariki
bd5c93ce58
Allow mask inversion in both dream tools
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-26 16:34:12 -03:00
Victor Seiji Hariki
059c0759fe
fix border mask rendering
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-25 19:39:38 -03:00
Victor Seiji Hariki
bc19de9c4e
fix border mask
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-25 19:29:50 -03:00
Victor Seiji Hariki
42144ea577
allow shortcut deletion via callback
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Former-commit-id: 0a46ffda9945ad95665634c21c9732e7d9d1497e
2022-11-24 12:30:13 -03:00
tim h
9a21d4f786
tweak to overmask """formula""", updates it for fancy new slider
...
Former-commit-id: 9ecd7c40e154270e66eb36677f64656cc616cdb0
2022-11-24 00:02:04 -06:00
tim h
eb46b36afb
moves overmask to txt2img/outpaint context menu
...
Former-commit-id: 0ee5c7946da0e037be950b3c3354e2cba87bdfca
2022-11-23 23:43:51 -06:00
tim h
617d8ee25c
the inglorious return of overmasking
...
Former-commit-id: 1a81a3f783d0bf78f530b9a72db090f9ed65d8ae
2022-11-23 17:40:10 -06:00
Victor Seiji Hariki
5b2a6234d4
extended timing on progress check and fixed dream
...
Progress check now has a 1.5s timing window (we can update it to wait
for the last update before sending a new progress request in the future)
Fixed dream() call in img2img tool
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Former-commit-id: c137f13e5a71f0b62cc7094bd53f8a4e5f89fcb6
2022-11-23 08:12:14 -03:00
Victor Seiji Hariki
c54a51f8ee
Merge branch 'toolbar' into img2img
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Former-commit-id: c8b0a3983dd07e64bc67d848814494be0ee8075d
2022-11-22 23:10:45 -03:00
Victor Seiji Hariki
35e5951c61
Merge branch 'main' into toolbar
...
Now skipping images, saving bandwidth
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Former-commit-id: 214f44c7ce6a1d9bf7598d45b6cef10e88e99cae
2022-11-22 23:06:37 -03:00
Victor Seiji Hariki
2eb6e6ff3e
add img2img tool and refactor tool context menus
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Former-commit-id: 3a36d0e0d7004142ee8d1ecdec14bb905db4919f
2022-11-22 22:24:04 -03:00
Victor Seiji Hariki
250c833895
Added tool menu and migrated image generation ot new input
...
Also updates a lot of other things (brush size now independent from
scale factor, split some files, and a lot other things; removed erase
safeguard as now erase is supported by undo/redo; tried adding github
prettier autoformatting to pull requests;
may have some other things as well
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
Former-commit-id: 0ba21f23c69f9dca2c3189a838b945900b01f81d
2022-11-22 19:28:27 -03:00