Commit Graph

12972 Commits

Author SHA1 Message Date
psychedelicious
86ff52ec36 feat(ui): add repr methods to layer and object classes 2024-09-06 21:27:35 +10:00
psychedelicious
17e7364bdb feat(ui): use nanoid(10) instead of uuidv4 for canvas
Shorter ids makes it much more readable
2024-09-06 21:27:35 +10:00
psychedelicious
71e4b60a30 build(ui): add nanoid as explicit dep 2024-09-06 21:27:35 +10:00
psychedelicious
a3e1ff637d fix(ui): move CanvasImage's konva image to correct object 2024-09-06 21:27:35 +10:00
psychedelicious
a3d2ba1444 fix(ui): prevent flash when applying transform 2024-09-06 21:27:35 +10:00
psychedelicious
9baa594a56 build(ui): add eslint rules for async stuff 2024-09-06 21:27:35 +10:00
psychedelicious
49de11c3ae feat(ui): trying to fix flicker after transform 2024-09-06 21:27:35 +10:00
psychedelicious
690fbdc73d feat(ui): transform cleanup 2024-09-06 21:27:35 +10:00
psychedelicious
4d52824895 feat(ui): fix transform when rotated 2024-09-06 21:27:35 +10:00
psychedelicious
2e13e75fc6 fix(ui): use pixel bbox when image is in layer 2024-09-06 21:27:35 +10:00
psychedelicious
f6f6462590 fix(ui): transforming when axes flipped 2024-09-06 21:27:35 +10:00
psychedelicious
79fee16629 feat(ui): hallelujah (???) 2024-09-06 21:27:35 +10:00
psychedelicious
073f63251a feat(ui): add debug button 2024-09-06 21:27:35 +10:00
psychedelicious
20125dc04b fix(ui): transformer padding 2024-09-06 21:27:35 +10:00
psychedelicious
9f1f8d62f0 feat(ui): wip transform mode 2 2024-09-06 21:27:35 +10:00
psychedelicious
99d432785c feat(ui): wip transform mode 2024-09-06 21:27:35 +10:00
psychedelicious
54e5401a96 feat(ui): wip transform mode 2024-09-06 21:27:35 +10:00
psychedelicious
6b5d7406d6 fix(ui): dnd to canvas broke 2024-09-06 21:27:35 +10:00
psychedelicious
c6bfeba61a fix(ui): conflicts after rebasing 2024-09-06 21:27:35 +10:00
psychedelicious
af1c8cc7e0 fix(ui): imageDropped listener 2024-09-06 21:27:35 +10:00
psychedelicious
879161ed4c wip 2024-09-06 21:27:35 +10:00
psychedelicious
a15944774c fix(ui): transform tool seems to be working 2024-09-06 21:27:35 +10:00
psychedelicious
42612a4f92 fix(ui): move tool fixes, add transform tool 2024-09-06 21:27:35 +10:00
psychedelicious
5c39935e88 feat(ui): move tool now only moves 2024-09-06 21:27:35 +10:00
psychedelicious
35c941c540 feat(ui): layer bbox calc in worker 2024-09-06 21:27:35 +10:00
psychedelicious
92931b0d4d feat(ui): tweaked entity & group selection styles 2024-09-06 21:27:35 +10:00
psychedelicious
7c3d2f5578 feat(ui): canvas entity list headers 2024-09-06 21:27:35 +10:00
psychedelicious
9c809ba147 tidy(ui): CanvasRegion 2024-09-06 21:27:35 +10:00
psychedelicious
25fb1bb837 tidy(ui): CanvasRect 2024-09-06 21:27:35 +10:00
psychedelicious
2d01086a3e tidy(ui): CanvasLayer 2024-09-06 21:27:35 +10:00
psychedelicious
f8af1e9014 tidy(ui): CanvasInpaintMask 2024-09-06 21:27:35 +10:00
psychedelicious
2b34a5c646 tidy(ui): CanvasInitialImage 2024-09-06 21:27:35 +10:00
psychedelicious
22ca3db870 tidy(ui): CanvasImage 2024-09-06 21:27:35 +10:00
psychedelicious
247ca97fbd tidy(ui): CanvasEraserLine 2024-09-06 21:27:35 +10:00
psychedelicious
b346b25a7b tidy(ui): CanvasControlAdapter 2024-09-06 21:27:35 +10:00
psychedelicious
496cf3da4f tidy(ui): CanvasBrushLine 2024-09-06 21:27:35 +10:00
psychedelicious
f1b0130389 tidy(ui): CanvasBbox 2024-09-06 21:27:35 +10:00
psychedelicious
39db3be151 tidy(ui): CanvasBackground 2024-09-06 21:27:35 +10:00
psychedelicious
517ad7e77c tidy(ui): update canvas classes, organise location of konva nodes 2024-09-06 21:27:35 +10:00
psychedelicious
5fa10a3f8e feat(ui): add names to all konva objects
Makes troubleshooting much simpler
2024-09-06 21:27:35 +10:00
psychedelicious
aa3986e9f2 fix(ui): do not await creating new canvas image
If you await this, it causes a race condition where multiple images are created.
2024-09-06 21:27:35 +10:00
psychedelicious
9105c02681 feat(ui): use position and dimensions instead of separate x,y,width,height attrs 2024-09-06 21:27:35 +10:00
psychedelicious
6632727d00 fix(ui): remove weird rtkq hook wrapper
I do not understand why I did that initially but it doesn't work with TS.
2024-09-06 21:27:35 +10:00
psychedelicious
34ccd5aa86 feat(ui): rename types size and position to dimensions and coordinate 2024-09-06 21:27:35 +10:00
psychedelicious
23979bdbee tidy(ui): hide layer settings by default 2024-09-06 21:27:35 +10:00
psychedelicious
dda53292bf fix(ui): layer rendering when starting as disabled 2024-09-06 21:27:35 +10:00
psychedelicious
c98c5f13f7 feat(invocation): reduce canvas v2 mask & crop mask dilation 2024-09-06 21:27:35 +10:00
psychedelicious
2a69967863 feat(ui): de-jank staging area and progress images 2024-09-06 21:27:35 +10:00
psychedelicious
781ef806de feat(ui): update staging handling to work w/ cropped mask 2024-09-06 21:27:35 +10:00
psychedelicious
8794c51e42 chore(ui): typegen 2024-09-06 21:27:35 +10:00