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
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
Victor Seiji Hariki
35ee716159
add prefix to ack
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-19 14:56:19 -03:00
Victor Seiji Hariki
fe4c94e895
Update external resource create
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-19 13:12:10 -03:00
Victor Seiji Hariki
3afb35e5ee
Add some simple messaging for parent interaction
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-19 09:30:39 -03:00
seijihariki
20d8d70c51
Prettified Code!
2022-12-19 03:04:24 +00:00
Victor Seiji Hariki
c1614edf99
733698 workaround
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-19 00:03:26 -03:00
tim h
7cf9e468d5
fixes synced resolution changing undesirably with some tools on scrollwheel
2022-12-18 20:35:48 -06:00
tim h
f0aaf51389
css/js resource changes for extension
2022-12-18 17:50:40 -06: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
tim h
072e81ce5e
Merge branch 'main' into testing
2022-12-17 15:07:26 -06:00
tim h
79ee0655b1
fixes resolution changing while scrolling through returned images if sync cursor size is enabled
2022-12-17 15:07:10 -06:00
tim h
b50b6f0ce4
come back progress bar, i miss you
2022-12-17 09:35:26 -06: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
9a8b064ab2
no need for this anymore
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 01:15:27 -03:00
Victor Seiji Hariki
a941056db4
fix viewport location limits
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 01:07:02 -03:00
Victor Seiji Hariki
2ee01e71c9
fix some tools
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-17 00:55:53 -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
tim h
6d9155261e
RFC- rename keepMask to keepUnmask
...
simple search/replace for keepMask[ed]
2022-12-16 19:59:30 -06:00
Victor Seiji Hariki
34ef37869f
fix img2img mask canvas weirdness
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-16 01:28:03 -03:00
tim h
b30f7f23a9
brings back interrogate reticle
2022-12-15 21:15:50 -06:00
Victor Seiji Hariki
5872f2c3a4
fix duplicate mousewheel events
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-15 22:37:21 -03:00
tim h
065b3062a6
whoops
2022-12-15 09:51:08 -06:00
tim h
a7e02cd76d
fixes use seed button for multiple dream queues
2022-12-15 09:25:20 -06:00
Victor Seiji Hariki
3207e86566
makes ctrl + middle be move canvas
...
This is for consistency with zoom and to avoid conflict with middle
mouse click for extra image generation
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-15 11:59:01 -03:00
Victor Seiji Hariki
c6a6342a8c
This should be a bit better
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-15 11:51:18 -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
ec05084d71
ignore wheel on ctrl key and remove debug
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-14 15:45: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
0c5ed4a17e
select handle scaling
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-14 14:02:36 -03:00
Victor Seiji Hariki
6cdd9495e3
keep masked option added
...
a fix for #99
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-14 00:17:17 -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
tim h
59b2d451fe
whoops jr
2022-12-13 20:08:46 -06:00
tim h
a350842dfd
whoops
...
at least it fixes fixed-seed makeMore() too
2022-12-13 20:03:58 -06:00
tim h
9b23e3aa92
reuse random seeds
2022-12-13 19:30:40 -06:00
Victor Seiji Hariki
2e151d2bbc
fix resolution not bound to cursor size anymore (again)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 20:22:16 -03:00
Victor Seiji Hariki
e2afb48703
fix loading empty prompts from local storage
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 17:07:30 -03:00
Victor Seiji Hariki
fb83b126c7
supports drag and drop for non-square resolutions
...
Has a lot of duplicate code... will try refactoring someday. Adding
mouse wheel on selection to scale generation resolution is also a
possibility.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 15:17:02 -03:00
Victor Seiji Hariki
58b5805bd7
remove debug
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:47:30 -03:00
Victor Seiji Hariki
3ef2bce9f0
fixed loading of boolean values from localStorage
...
It seems we were doing localStorage wrong for boolean values. It just
worked for enable_hr by chance. Now it should work properly.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:24:22 -03:00
Victor Seiji Hariki
cb6d9ac7d8
now it should work?
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:16:26 -03:00
Victor Seiji Hariki
b1a42c4cd7
seems I failed to save the file before closing merge
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:13:46 -03:00
Victor Seiji Hariki
5cb3617907
Merge remote-tracking branch 'zero/main' into testing
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:11:06 -03:00
Victor Seiji Hariki
9e0541bf0c
view generation resolution too
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:10:13 -03:00
Victor Seiji Hariki
8a7e0a08f8
enable sync cursor size by default
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-13 11:09:57 -03:00
tim h
41e57d28cf
whoops
2022-12-12 21:05:04 -06:00
tim h
9b8b432f52
Merge branch 'main' into i90
2022-12-12 19:53:30 -06:00
tim h
55e361b6e3
i am not smart enough for this lol
2022-12-12 19:52:14 -06:00
tim h
4241cbd4f9
why does the callback work fine on dream but breaks img2img
2022-12-12 19:30:28 -06:00
tim h
8e5d48f97b
think it makes more sense here
2022-12-12 18:25:02 -06:00
tim h
228bd3d9a0
updates reticle size upon manually entered resolution
2022-12-12 17:09:27 -06:00
tim h
82e943b12d
option to sync resolution and reticle size (issue 90)
2022-12-12 16:25:49 -06:00
Victor Seiji Hariki
f63bbafe0f
add cancel button to future generations
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 18:49:53 -03:00
Victor Seiji Hariki
0a73687556
add prompt history as suggested in #87
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 18:25:32 -03:00
Victor Seiji Hariki
34b995998b
fix cropCanvas bounding box
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 10:54:26 -03:00
Victor Seiji Hariki
b71731b7ca
stamp now uses indexed DB for resources
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 10:03:05 -03:00
Victor Seiji Hariki
f279c8457b
dream queueing now supported
...
- Image navigation shortcuts work for all simultaneously (probably not
optimal)
This is for #89 . Some things should be ironed out, such as adding a
cancel button for future jobs and an order indicator maybe?
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-12 00:55:54 -03:00
Victor Seiji Hariki
460130396f
add button to dream to save current image (no sc)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-11 21:01:55 -03:00
Victor Seiji Hariki
d65f3185c4
resource now use dblclick to rename; download
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-11 20:54:38 -03:00
Victor Seiji Hariki
bf025d2ab8
multiselect now also custom autocomplete
...
This is mainly to free space for the prompt history on #87
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-11 16:01:22 -03:00
Victor Seiji Hariki
ec43674695
now connection check actually working
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-10 23:23:26 -03:00
Victor Seiji Hariki
57e2e6a9f3
dream image generation failed typo
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-10 23:13:14 -03:00
Victor Seiji Hariki
012f6ae272
add check for --api flag and helpful error message
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-10 21:46:14 -03:00
Victor Seiji Hariki
ba7c7608c0
index 0 not counted as an image anymore
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-09 23:18:24 -03:00
Victor Seiji Hariki
0e6a5c8d4a
adds index 0 to image gen
...
image gen has now index 0 to show what was before the image generation.
this is especially useful for img2img
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-09 22:07:18 -03:00
Victor Seiji Hariki
f446cf3784
fixed color brush cursor rendering
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 23:33:51 -03:00
Victor Seiji Hariki
f8687e9bac
Seems like fix didn't work
...
performance optimization for firefox seems to have broken chrome after
today's changes. Seems like we will have to accept the slower method of
calculating coordinates. At least it is more flexible.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 19:42:14 -03:00
Victor Seiji Hariki
047d5ef01f
fix getmodels that seems to have broken with merge
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 19:12:02 -03:00
Victor Seiji Hariki
dc914d9243
removing debug calls as always
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 19:04:41 -03:00
Victor Seiji Hariki
ec59cf5538
Very crude settings interface
...
Very crude settings interface with only canvas size for now. Canvas size
only affects canvas on next page load. Dynamic resizing in the horizon,
but will take a while.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 18:38:55 -03:00
Victor Seiji Hariki
57a2debe5d
Merge branch 'main' into testing
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 18:29:34 -03:00
Victor Seiji Hariki
2cda410b41
add custom select element with autocomplete
...
Same as a select, but you can kind of search for the item you want. Good
for when you have a lot of models.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 18:23:17 -03:00
Victor Seiji Hariki
c2e0cf4615
expand input field relative to drawable canvas
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-08 12:17:59 -03:00
Victor Seiji Hariki
0b5b0188e4
Merge pull request #75 from zero01101/testing
...
Some general fixes
2022-12-07 23:36:28 -03:00
Victor Seiji Hariki
458df53fac
fix pixel alingment on select for scaling
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 23:17:46 -03:00
Victor Seiji Hariki
3701eb110b
fix some more issues in selectjs pixel alignment
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 23:09:41 -03:00
Victor Seiji Hariki
548aa05001
windows now stop wheel event propagation
...
no more of the "mouse cursor size change while scrolling" issue
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 19:22:25 -03:00
Victor Seiji Hariki
c51c71915e
add test for recommended configs
...
also adds option to change to recommended automatically
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 18:09:43 -03:00
Victor Seiji Hariki
aee812b70a
fix mouse for chrome (for now)
...
Seems scroll delta is inconsistent between browsers, so for my chromium
installation it was simply not working at all due to snapping. Made it
so every event is a cursor size change for now. probably bad for smooth
mouse wheels, but for a complete fix we would have to keep track of
pixels scrolled and probably add a mouse wheel sensitivity setting
somewhere.
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 17:32:43 -03:00
Victor Seiji Hariki
361efc76f2
bypass for browser that calculate layer*
...
Bypasses the kinda slow getBoundingClientRect for browsers that actually
support CSS transforms for cursors
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 17:10:01 -03:00
Victor Seiji Hariki
9a08408456
this might fix some of our pixel-alignment issues
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 17:05:14 -03:00
Victor Seiji Hariki
3373d2964e
fix selection box when not grid-aligned
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 16:26:23 -03:00
Victor Seiji Hariki
3c0eed68ce
fix slider strange behavior when mouse left
...
also added / to all res references
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-07 13:32:33 -03:00
tim h
8329784c88
wtf how did that even work
2022-12-06 21:17:02 -06:00
tim h
8818a355f6
upscale amount
...
probably should've put this in testing first but it's pretty bulletproof so far
2022-12-06 21:12:10 -06:00
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
bdf6bb8913
I swear I need to learn to delete my console.debugs
...
Will not merge yet to avoid pull request spam
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 22:57:39 -03:00
Victor Seiji Hariki
067b81960f
Merge branch 'zero-main' into testing
2022-12-06 22:46:21 -03:00
Victor Seiji Hariki
88df998e98
fix some issues in layer delete/undo
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 22:39:33 -03:00
Victor Seiji Hariki
ea4226e877
Merge pull request #72 from zero01101/bleeding-edge
...
fix maskbrush stationary cursor wheel rendering
2022-12-06 22:09:18 -03:00
Victor Seiji Hariki
1c6fd1fb1a
fix maskbrush stationary cursor wheel rendering
...
brush did not redraw when changing brush size. now it does
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 22:07:02 -03:00
tim h
ed99ec9f73
version bump, readme update, tiny tiny fixes so small they could be considered typos
2022-12-06 18:05:43 -06:00
Victor Seiji Hariki
1888d7f8a3
layer visibility toggle affects wrong layer (bleeding edge branch)
...
Fixes #71
2022-12-06 20:17:31 -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
7bc0549337
fix smooth rendering box incongruency on reload
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 18:22:22 -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
c5d887620d
select color and do not redraw twice on maskbrush
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 12:30:55 -03:00
Victor Seiji Hariki
207921978b
selection now uses ui canvas
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-06 12:25:06 -03:00
Victor Seiji Hariki
62ddc38f01
layer history and finally layer delete/merge
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-05 23:22:19 -03:00
Victor Seiji Hariki
0cc6f7660a
fix interrogate for new layer system
...
interrogate now uses visible data, and add green marching ants to show
something is happening
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-05 12:26:52 -03:00
Victor Seiji Hariki
4118d78a7f
fix for eyedropper rendering
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-05 00:26:52 -03:00
tim h
61930b74da
much less broken surprise interrogate tool
2022-12-05 00:26:52 -03:00
tim h
4a76eecd92
surprise interrogate tool
2022-12-05 00:26:52 -03:00
tim h
986466f6d8
fixes issue 68
2022-12-04 20:19:34 -06:00
Victor Seiji Hariki
d49b68ae29
add options to brushes for opacity, and mask blur
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 19:35:44 -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
6222975825
some... i guess performance improvements for chrome
...
also fixes pixelated view for chrome
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 17:02: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
559f4493ca
rename button (resources) also stops evn propag
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 08:31:43 -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
583f9245b6
fix eyedropper interactions and remove unused code
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-04 00:22:29 -03:00
Victor Seiji Hariki
4d414186c0
another fix for resource persistence
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 23:09:02 -03:00
Victor Seiji Hariki
e1c684eaef
fix resource manager persistence
...
persistence only worked once per image due to lack of wait load in image
loading from storage
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 22:59:16 -03:00
Victor Seiji Hariki
4549e21293
fix chrome giant icon/add pipette tool (shift)
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 20:00:10 -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
249e83ed07
fix resource saving for uploaded resources
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 13:08:29 -03:00
Victor Seiji Hariki
eea14e1cc9
now browsers with literally no clipboard support are ok
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 11:40:40 -03:00
Victor Seiji Hariki
464ab31431
fix delete button selects the item too
...
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 11:07:25 -03:00
Victor Seiji Hariki
993381a123
resources are now persistent between sessions
...
we should add a settings page to allow people to customize what they
want to save and other things
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-12-03 10:48:05 -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