tim h
025d50a10e
got it passing scripts and params but wtf is it bitching about with
...
x_opt = axis_options[x_type]
TypeError: list indices must be integers or slices, not str
2023-01-20 18:53:16 -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
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
d3cc6ea8da
revert layers
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-10 01:05:59 -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
tim h
40c69d7dd6
tiny fix to prevent generate-ahead from freaking out with alerts if something goes wrong
2023-01-08 16:44:46 -06:00
Victor Seiji Hariki
b056f81155
test
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-08 18:21:08 -03:00
tim h
c8cafe36b0
yep this seems to work, i'm just an inobservant moron
2023-01-08 10:11:33 -06:00
Victor Seiji Hariki
2c9eea4ce6
rotation working, broke scale
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-08 01:54:37 -03:00
tim h
158ae03ff7
childish attempts at trying to make extension iframe chill out with the requests
2023-01-07 18:22:39 -06:00
tim h
548eefe769
checks tab focus before doing XHR background stuff, replaces connectivity check endpoint for a lighter response
2023-01-07 14:06:37 -06:00
Victor Seiji Hariki
02a0fb82dd
workspaces
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-07 09:46:33 -03:00
tim h
16ad7a550d
think this was out-of-order and causing math problems with resolutions but i could be an idiot
2023-01-06 12:49:15 -06:00
tim h
bb815d62f9
option to enforce square firstpass aspect ratio
2023-01-05 17:42:50 -06:00
tim h
b45ce1aeba
WIP - parity with square vs non- in/output HRfix res
2023-01-04 23:27:02 -06:00
tim h
3c596e6a4c
experimental? newer hrfix stuff
2023-01-04 20:00:51 -06: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
0d526ed610
Merge pull request #155 from zero01101/hrfix-compat
...
HRfix Compatibility
2023-01-04 21:38:59 -03:00
Victor Seiji Hariki
bbce97d48d
I guess this does not do much, but precautions
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 21:37:21 -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
ad66f0ec29
add some hrfix compatibility with old version
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-04 21:00:17 -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
seijihariki
82ca6269d2
Prettified Code!
2023-01-04 21:14:52 +00:00
Vladimir Mandic
31dc797583
remove debug console message
2023-01-04 16:07:16 -05:00
Vladimir Mandic
9ab0991f4d
fix leave-page alert
2023-01-04 13:33:27 -05:00
tim h
227c7839f3
return of HRfix lock px
...
not sure if useful or i'm just salty
2023-01-03 21:41:03 -06:00
tim h
db725d54b5
be much less annoying about out of date webUI but also disable HRfix outright
2023-01-03 15:54:05 -06:00
tim h
92f91e23ae
selectable outpaint type separate from inpaint now that i know how _horrible_ original is for outpainting
2023-01-03 15:52:56 -06:00
tim h
75bfde4a8f
additional emergency _outpainting_ fix because i'm a distilled idiot and completely broke outpainting
2023-01-03 14:02:05 -06: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
50ab30f411
Merge branch 'main' into fix-addon-black-screen
2023-01-03 11:38:23 -03:00
tim h
d31eb541cf
tiny but very vital fix for inpainting
2023-01-03 08:16:09 -06:00
tim h
8b4a35d030
tiny critical fixes
...
gotta keep that outpaint mask at 1
2023-01-02 23:36:42 -06:00
tim h
fdd9c8def1
whoops just noticed this, tiny fix
2023-01-02 22:15:47 -06:00
tim h
af014aff8b
Merge branch 'main' into compact-checkboxes
2023-01-02 22:07:43 -06:00
tim h
3f2bbf02ef
checks for nonexistent option in newer webUI on startup
2023-01-02 21:30:20 -06:00
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
212769f3bd
invite interrogate to the party
2023-01-02 18:59:15 -06:00
Victor Seiji Hariki
e481e2b3da
adds first run inpainting model prompts
...
Should finish implementing (Fixes #125 )
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-02 21:43:33 -03:00
tim h
b8c02d630d
fix selected HRfix upscaler localstorage
2023-01-02 18:29:23 -06:00
tim h
3043622ecd
localstorage for new hrfix junk
2023-01-02 18:13:46 -06: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
69205e5647
adds denoising slider for hrfix
2023-01-02 17:18:50 -06:00
tim h
8962d75c60
optionally implements dishonesty to POST request data to make new HRfix actually useful to our needs
2023-01-02 14:49:47 -06:00
tim h
43d4239824
sigh
2023-01-02 13:50:28 -06: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