Commit graph

117 commits

Author SHA1 Message Date
Victor Seiji Hariki
d6435abf2e solid color mask and migration to new input method
reimplements mask using the new input lib, makes mask use a solid color
(masks shouldn't become darker the more you draw over itself) and the
mask layer is now rendered with the alpha using css.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:29:50 -03:00
Victor Seiji Hariki
217b89efef fix prev field for drag events and add onmousemove
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>

a

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:26:48 -03:00
Victor Seiji Hariki
f460f43800 Merge branch 'main' into edit_utils 2022-11-20 23:07:15 -03:00
Victor Seiji Hariki
ea64c138c3 Add generic mouse input handler
input.js is now responsible for processing mouse input and translating
it to relevant events. This allows for less bloat on the main logic in
index.js and easy implementation of new functionality

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:03:07 -03:00
tim h
e88dc0acf9 bump version, remove pointless checkbox 2022-11-20 17:31:51 -03:00
Kalekki
eab96a448d fix 2022-11-20 17:31:51 -03:00
Kalekki
ff9d930956 Mask erasing 2022-11-20 17:31:51 -03:00
Kalekki
d563e8ba3a make draggable class for possible future re-use 2022-11-20 17:31:51 -03:00
tim h
aefd45f436 removed redundant overmask toggle
overmaskpx = 0 effectively disables it anyway
sets overmaskpx to a localstorage option
removes moot "plain" mask monitor
2022-11-20 17:31:51 -03:00
tim h
c4b1627386 blblblblblblbl 2022-11-20 17:31:51 -03:00
tim h
b3a66dc2e0 update 🐠me 2022-11-20 17:31:51 -03:00
tim h
7824c7ee63 move royalty to their own section 2022-11-20 17:31:51 -03:00
tim h
2ae516fa5b ಠ_ಠ 2022-11-20 17:31:51 -03:00
tim h
62f20509e5 define: vanity 2022-11-20 17:31:51 -03:00
tim h
24e8b99259 fishme 2022-11-20 17:31:51 -03:00
tim h
dc4e4a5752 version bump and readfish 2022-11-20 17:31:51 -03:00
tim h
2861c100bd font size/stroke visibility upgrade
for us old folks
2022-11-20 17:31:51 -03:00
tim h
f8e87df6de 🐠me update 2022-11-20 17:31:51 -03:00
tim h
3062766c13 right-click erase is now an option 2022-11-20 17:31:51 -03:00
Victor Seiji Hariki
fe508f8b21 simple command pattern and edit history
Implements command pattern for providing edit history capabilities to
editing. For now, no implementation is done to support keyboard
shortcuts, so the buttons are the only way to navigate. Also, only image
insertion is supported for now. Waiting for the masking updates to
implement masking history.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 14:59:11 -03:00
tim h
0906609da2 bump version, remove pointless checkbox 2022-11-20 11:56:37 -06:00
tim h
d276876bf0 Merge pull request #17 from Kalekki/erase_mask
Mask erasing
2022-11-20 11:48:14 -06:00
tim h
f43d072f60 Merge pull request #18 from Kalekki/main
make draggable class for possible future re-use
2022-11-20 11:41:46 -06:00
tim h
172e7dae0a removed redundant overmask toggle
overmaskpx = 0 effectively disables it anyway
sets overmaskpx to a localstorage option
removes moot "plain" mask monitor
2022-11-20 11:38:24 -06:00
Kalekki
ebf6900bfc make draggable class for possible future re-use 2022-11-20 18:24:17 +02:00
Kalekki
8c9a5f527e fix 2022-11-20 15:28:48 +02:00
Kalekki
ff68fcdeda Mask erasing 2022-11-20 14:26:33 +02:00
tim h
d85e54c5f1 blblblblblblbl 2022-11-20 01:50:24 -06:00
tim h
89624a2e8b update 🐠me 2022-11-20 01:47:21 -06:00
tim h
6d77e223fe move royalty to their own section 2022-11-20 01:39:04 -06:00
tim h
e6fa805f61 Merge pull request #16 from seijihariki/main
fix scale factor slider broken by refactor
2022-11-20 00:37:23 -06:00
Victor Seiji Hariki
8ebf273bfa fix scale factor slider broken by refactor
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 02:56:37 -03:00
tim h
8a85e856fc ಠ_ಠ 2022-11-19 23:02:49 -06:00
tim h
2f416ad2b4 define: vanity 2022-11-19 22:59:42 -06:00
tim h
58c00588b6 Merge branch 'main' of github.com:zero01101/openOutpaint into main 2022-11-19 22:48:06 -06:00
tim h
a47a201fd5 fishme 2022-11-19 22:45:57 -06:00
tim h
c80b138829 Merge pull request #15 from zero01101/pr/14
version bump and readfish
2022-11-19 22:41:39 -06:00
tim h
aa2c1956ee Merge branch 'pr/14' into main 2022-11-19 22:40:57 -06:00
tim h
884a2b1537 version bump and readfish 2022-11-19 22:40:18 -06:00
tim h
da880cf3ee Merge pull request #14 from seijihariki/main
Streamline and add text input to range pickers
2022-11-19 22:34:51 -06:00
tim h
5b5b1fbfce font size/stroke visibility upgrade
for us old folks
2022-11-19 22:10:20 -06:00
Victor Seiji Hariki
06c53e6062 Streamline and add text input to range pickers
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 00:49:51 -03:00
tim h
ee5d0f8ac9 🐠me update 2022-11-19 21:39:18 -06:00
tim h
f92a7ff98e right-click erase is now an option 2022-11-19 21:32:35 -06:00
tim h
ea0f7f34bc minor fishme formatting annoyance 2022-11-19 20:33:32 -06:00
tim h
55ab68dee2 mask blur max value increase to 256 2022-11-19 19:24:22 -06:00
tim h
5836f7e92f update 🐠 2022-11-19 18:40:43 -06:00
tim h
82c0cfe12c 🐠 2022-11-19 18:39:03 -06:00
tim h
f3c49a2714 set cfg scale step to .5 instead of .1, remove ludicrous cfg scale detents 2022-11-19 18:27:31 -06:00
tim h
5041feb50c sigh 2022-11-19 16:35:49 -06:00