psychedelicious
|
14c8f7c4f5
|
tidy(ui): use imperative names for setters in stateapi
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
a487ecb50f
|
fix(ui): commit drawing buffer on tool change, fixing bbox not calculating
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
fc55862823
|
fix(ui): sync transformer when requesting bbox calc
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
e5400601d6
|
tidy(ui): rename union CanvasEntity -> CanvasEntityState
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
735f9f1483
|
fix(ui): request rect calc immediately on transform, hiding rect
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
d139db0a0f
|
feat(ui): move bbox calculation to transformer
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
a35bb450b1
|
feat(ui): use set for transformer subscriptions
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
26c01dfa48
|
tidy(ui): clean up worker tasks when complete
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
2b1839374a
|
tidy(ui): remove unused code in CanvasTool
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
59f5f18e1d
|
feat(ui): use pubsub for isTransforming on manager
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
e41fcb081c
|
docs(ui): update transformer docstrings
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
3032042b35
|
feat(ui): revised event pubsub, transformer logic split out
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
544db61044
|
feat(ui): add simple pubsub
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
67a3aa6dff
|
feat(ui): document & clean up object renderer
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
34f4468b20
|
feat(ui): split out object renderer
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
d99ae58001
|
fix(ui): unable to hold shit while transforming to retain ratio
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
d60ec53762
|
tidy(ui): rename canvas stuff
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
0ece9361d5
|
tidy(ui): consolidate getLoggingContext builders
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
69987a2f00
|
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-08-27 11:01:38 +10:00 |
|
psychedelicious
|
7346bfccb9
|
feat(ui): disable image smoothing on layers
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
b705083ce2
|
fix(ui): round position when rasterizing layer
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
4b3c82df6f
|
feat(ui): continue modularizing transform
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
46290205d5
|
feat(ui): fix a few things that didn't unsubscribe correctly, add helper to manage subscriptions
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
7b15585b80
|
feat(ui): merge bbox outline into transformer
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
cbfeeb9079
|
fix(ui): update parent's pos not transformers
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
fdac20b43e
|
feat(ui): merge interaction rect into transformer class
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
ae2312104e
|
feat(ui): prepare staging area
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
74b6674af6
|
feat(ui): typing for logging context
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
81adce3238
|
feat(ui): remove inheritance of CanvasObject
JS is terrible
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
48b7f460a8
|
feat(ui): split & document transformer logic, iterate on class structures
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
38a8232341
|
feat(ui): rotation snap to nearest 45deg when holding shift
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
39a51c4f4c
|
feat(ui): expose subscribe method for nanostores
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
220bfeb37d
|
tidy(ui): remove layer scaling reducers
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
e766279950
|
fix(ui): pixel-perfect transforms
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
db82406525
|
fix(ui): layer visibility toggle
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
2d44f332d9
|
fix(nodes): fix canvas mask erode
it wasn't eroding enough and caused incorrect transparency in result images
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
ea1526689a
|
fix(ui): do not reset layer on first render
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
200338ed72
|
feat(ui): revised logging and naming setup, fix staging area
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
88003a61bd
|
feat(ui): add repr methods to layer and object classes
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
b82089b30b
|
feat(ui): use nanoid(10) instead of uuidv4 for canvas
Shorter ids makes it much more readable
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
efd780d395
|
build(ui): add nanoid as explicit dep
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
3f90f783de
|
fix(ui): move CanvasImage's konva image to correct object
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
4f5b755117
|
fix(ui): prevent flash when applying transform
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
a455f12581
|
build(ui): add eslint rules for async stuff
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
de516db383
|
feat(ui): trying to fix flicker after transform
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
6781575293
|
feat(ui): transform cleanup
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
65b0e40fc8
|
feat(ui): fix transform when rotated
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
19e78a07b7
|
fix(ui): use pixel bbox when image is in layer
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
e3b60dda07
|
fix(ui): transforming when axes flipped
|
2024-08-27 11:01:38 +10:00 |
|
psychedelicious
|
a9696d3193
|
feat(ui): hallelujah (???)
|
2024-08-27 11:01:38 +10:00 |
|