Commit graph

332 commits

Author SHA1 Message Date
Victor Seiji Hariki
7dfd35839b generally fix black when outpainting using addons
For some reason, when using some extensions, firefox just bugs out the
context after running a toDataURL. We now create a separate canvas for
mask drawing.
2023-01-02 23:31:25 -03:00
tim h
ec6259cfaa fixes broken CFG slider
negative CFGs are for super-weirdos amirite
2023-01-02 01:35:54 -06:00
tim h
8ca3782c8f more user configurable stuff 2023-01-02 00:45:03 -06:00
tim h
0181091ceb Merge branch 'pr/140' into main
# Conflicts:
#	index.html
#	js/ui/tool/dream.js
2023-01-01 22:48:24 -06:00
tim h
25eb6258cf remove extra <br> 2023-01-01 22:06:09 -06:00
ribawaja
bf40218f28 Revert "adjust shortcuts"
This reverts commit 987f29739a.
2023-01-01 20:43:16 -05:00
ribawaja
fd34dfff67 add eager generate feature 2023-01-01 20:30:48 -05:00
tim h
fe7470ee94 "consistency typo" 2023-01-01 11:05:40 -06: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
ribawaja
987f29739a adjust shortcuts 2023-01-01 01:52:52 -05:00
tim h
370994a5d2 extremely ugly WIP implementation of img2img inpaint fill modes 2022-12-31 13:31:31 -06:00
tim h
839ed27fab typo 2022-12-30 23:52:06 -06:00
tim h
aee0c33c7b significantly more useful hrfix updates
adds lock-to-max-hrfix-px slider which works pretty well if i do say so myself
2022-12-30 23:40:45 -06:00
tim h
c9a768d406 fixes hrfix x/y calcs on non-square reticles 2022-12-30 22:29:01 -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
c4d52fdfad now only considers staged files
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-30 07:44:10 -03:00
Victor Seiji Hariki
6d31640ae5 now only adds html files
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-30 07:27:26 -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
a628c45717 Add restore faces option
Add restore faces option; Resolves #129

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-29 00:37:18 -03:00
Victor Seiji Hariki
6b3e471b36 remove debug
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-28 23:32:02 -03:00
Victor Seiji Hariki
b23a9183ea Make bg always pixelated
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 18:50:00 -03:00
Victor Seiji Hariki
7e6df6819f rework zoom to zoom into mouse location
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 18:38:36 -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
84ba327706 allow pan via LMB drag
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 17:49:46 -03:00
Victor Seiji Hariki
12e371a481 Unused variable cleanup and new overmask px default
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-27 17:49:40 -03:00
tim h
8fbc42744e
Merge pull request #123 from zero01101/testing
An easy fix for mouse wheel scrolling
2022-12-26 16:49:56 -06:00
Victor Seiji Hariki
100829298c fixes #124
System clipboard paste was not working correctly

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-26 10:35:33 -03:00
Victor Seiji Hariki
aa3ec73b45 make config readonly
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-25 23:39:04 -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
tim h
b9fcc7ad00 updates API js alert re: --gradio-debug 2022-12-24 13:23:16 -06:00
Victor Seiji Hariki
14aed51a89 debugging button to help get information
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-24 11:56:30 -03:00
seijihariki
953aed236e Prettified Code! 2022-12-24 01:19:11 +00:00
Victor Seiji Hariki
92ab54282d fix addselection starting selection
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-23 22:18:37 -03:00
seijihariki
cfca5d95ba Prettified Code! 2022-12-24 00:48:55 +00:00
Victor Seiji Hariki
7a52508a3b Fixes #117
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-23 21:48:25 -03:00
tim h
01dbafb17f Merge branch 'main' into clear_brush_mask_option 2022-12-21 19:36:06 -06:00
tim h
1f407c4187 Merge branch 'main' into clear_brush_mask_option 2022-12-21 18:12:18 -06: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
35d5868854 make stamp redraw on zoom
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-20 23:43:29 -03:00
Victor Seiji Hariki
94de86a971 webui set prompt and stamp uictx cursor
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-20 23:26:52 -03:00
Victor Seiji Hariki
04f5b0a56b
fix2 host
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-20 13:44:39 -03:00
Victor Seiji Hariki
f942f03799
fixed fixed host
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-20 12:23:45 -03:00
tim h
a49769af85 Merge branch 'main' into clear_brush_mask_option 2022-12-19 21:34:08 -06:00
Victor Seiji Hariki
a04a071965 now allows for fixed host setting
also makes rest of localstorage data prefixed

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-19 22:42:26 -03:00
tim h
aec0b5a5a1 adds option to preserve brushed mask post-dream 2022-12-19 18:51:29 -06:00
Victor Seiji Hariki
232b52bc4b outpaint prefix to localstorage things
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-19 15:45:09 -03:00