psychedelicious
|
02c2308938
|
fix(ui): brush preview fill for inpaint/region
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
cf66e6d4ce
|
fix(ui): no objects rendered until vis toggled
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
8df40d2d94
|
feat(ui): inpaint mask transform
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
9942d9a1dc
|
fix(ui): layer accidental early set isFirstRender=false
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
835431ad9a
|
fix(ui): inpaint mask rendering
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
b5c2b8fdec
|
feat(ui): wip inpaint mask uses new API
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
bbcc242280
|
feat(ui): move updatePosition to transformer
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
e4ff850ca8
|
feat(ui): move resetScale to transformer
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
9117753a70
|
tidy(ui): more imperative naming
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
8095a17f0c
|
tidy(ui): use imperative names for setters in stateapi
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
0d1af8e26e
|
fix(ui): commit drawing buffer on tool change, fixing bbox not calculating
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
b5834002a5
|
fix(ui): sync transformer when requesting bbox calc
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
f2ba9c5d20
|
tidy(ui): rename union CanvasEntity -> CanvasEntityState
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
2fac67d8a5
|
fix(ui): request rect calc immediately on transform, hiding rect
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
36e07269e8
|
feat(ui): move bbox calculation to transformer
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
a35a2a6c8f
|
feat(ui): use set for transformer subscriptions
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
050f258c8e
|
tidy(ui): clean up worker tasks when complete
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
4bad6d005a
|
tidy(ui): remove unused code in CanvasTool
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
22287c9362
|
feat(ui): use pubsub for isTransforming on manager
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
ee4b27c051
|
docs(ui): update transformer docstrings
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
93c4454b8d
|
feat(ui): revised event pubsub, transformer logic split out
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
5fc2a6a4ad
|
feat(ui): add simple pubsub
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
c7d2766f2e
|
feat(ui): document & clean up object renderer
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
06d76ed362
|
feat(ui): split out object renderer
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
4a1fc2a91f
|
fix(ui): unable to hold shit while transforming to retain ratio
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
0578bf0890
|
tidy(ui): rename canvas stuff
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
e3984cd006
|
tidy(ui): consolidate getLoggingContext builders
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
f2e197f4e7
|
fix(ui): align all tools to 1px grid
- Offset brush tool by 0.5px when width is odd, ensuring each stroke edge is exactly on a pixel boundary
- Round the rect tool also
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
3cf9a53f88
|
feat(ui): disable image smoothing on layers
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
c8d42e64c5
|
fix(ui): round position when rasterizing layer
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
82e91afed2
|
feat(ui): continue modularizing transform
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
13e3fc5e7a
|
feat(ui): fix a few things that didn't unsubscribe correctly, add helper to manage subscriptions
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
a32a2c3782
|
feat(ui): merge bbox outline into transformer
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
73611a7d83
|
fix(ui): update parent's pos not transformers
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
7a012e4487
|
feat(ui): merge interaction rect into transformer class
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
8935e6e7c2
|
feat(ui): prepare staging area
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
8af572d502
|
feat(ui): typing for logging context
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
8a0e2d9475
|
feat(ui): remove inheritance of CanvasObject
JS is terrible
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
6d39a86dbd
|
feat(ui): split & document transformer logic, iterate on class structures
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
25d16bc779
|
feat(ui): rotation snap to nearest 45deg when holding shift
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
805343f525
|
feat(ui): expose subscribe method for nanostores
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
054c3becc0
|
tidy(ui): remove layer scaling reducers
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
e317f0ce29
|
fix(ui): pixel-perfect transforms
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
a98d92a6c7
|
fix(ui): layer visibility toggle
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
919f8b1386
|
fix(nodes): fix canvas mask erode
it wasn't eroding enough and caused incorrect transparency in result images
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
7cd510a501
|
fix(ui): do not reset layer on first render
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
1b9aeaaea0
|
feat(ui): revised logging and naming setup, fix staging area
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
9b176de649
|
feat(ui): add repr methods to layer and object classes
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
bd63cc0562
|
feat(ui): use nanoid(10) instead of uuidv4 for canvas
Shorter ids makes it much more readable
|
2024-09-06 22:56:24 +10:00 |
|
psychedelicious
|
5580131017
|
build(ui): add nanoid as explicit dep
|
2024-09-06 22:56:24 +10:00 |
|