Commit graph

589 commits

Author SHA1 Message Date
tim h
7e7146eaa1 dream output text legibility, invert marching ants 2022-11-21 18:04:05 -06:00
tim h
8e40019770 lol whoops 2022-11-21 18:00:20 -06:00
tim h
064ebe260b Merge pull request #24 from Kalekki/checkerboard
Checkerboard background to signal transparency
2022-11-21 17:57:56 -06:00
tim h
2c120320ff Merge branch 'main' into checkerboard 2022-11-21 17:57:41 -06:00
tim h
2efb01059c Merge pull request #22 from seijihariki/edit_utils
mouse input handler - input.js - proper solid mask
2022-11-21 17:31:24 -06:00
Kalekki
5685aadcbb Move info container to make it more obvious its floating 2022-11-21 14:26:23 +02:00
Kalekki
2dedda5d29 clean up leftover chaotic borders 2022-11-21 14:15:11 +02:00
Kalekki
ac0b195a36 Remove white margins around working area 2022-11-21 14:05:57 +02:00
Kalekki
4381642e88 Checkerboard background to signal transparency 2022-11-21 13:40:44 +02:00
Victor Seiji Hariki
c1bc54a4eb add new history window and fix multi-window support
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-21 08:27:21 -03:00
Victor Seiji Hariki
93b6118254 some simple features to inputjs and menu overhaul
for dragging, add original target to avoid paint intermitence when dragging
windows too fast.

Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-21 08:24:35 -03:00
Victor Seiji Hariki
80c446da3d format input.js according to new guidelines
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-21 00:02:25 -03:00
Victor Seiji Hariki
096d8770f2 Merge branch 'main' into edit_utils
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:59:46 -03:00
Victor Seiji Hariki
c27da0f51a add target info to events and fix mask impl
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2022-11-20 23:42:07 -03:00
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
32904051aa yeah overmasking is _definitely_ fixed, works great now 2022-11-20 17:21:55 -06:00
tim h
959bb4f8b1 marching ants during image generation
i uh also decided to useTabs in prettier and it now looks like i rewrote the entire application again :badpokerface:
2022-11-20 17:10:03 -06:00
tim h
bef6b214f4 very minor unnecessary changes 2022-11-20 15:47:53 -06:00
tim h
327e90c88c prettier! 2022-11-20 15:39:24 -06: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
tim h
32206ff6ee update readme 2022-11-20 14:10:33 -06:00
tim h
772cc7552d completely rework and fix(?) overmasking 2022-11-20 14:08:48 -06:00
tim h
5304432062 a very deserving version bump, fishme updates 2022-11-20 12:22:51 -06:00
tim h
04e208ce04 Merge pull request #21 from seijihariki/edit_utils
Simple Edit History
2022-11-20 12:17:19 -06: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