psychedelicious
|
25158d4d92
|
fix(ui): commit drawing buffer on tool change, fixing bbox not calculating
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
3c9e9fa746
|
fix(ui): sync transformer when requesting bbox calc
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
e5a7e932cf
|
tidy(ui): rename union CanvasEntity -> CanvasEntityState
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
84d15b0c7f
|
fix(ui): request rect calc immediately on transform, hiding rect
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
79f216a491
|
feat(ui): move bbox calculation to transformer
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
b86645c1a7
|
feat(ui): use set for transformer subscriptions
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
3f359f1059
|
tidy(ui): clean up worker tasks when complete
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
7c7117c39a
|
tidy(ui): remove unused code in CanvasTool
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
92b8c68b94
|
feat(ui): use pubsub for isTransforming on manager
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
7b7d722bae
|
docs(ui): update transformer docstrings
|
2024-09-06 21:27:36 +10:00 |
|
psychedelicious
|
227c3197b4
|
feat(ui): revised event pubsub, transformer logic split out
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
cab1ba8970
|
feat(ui): add simple pubsub
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
7395c94d00
|
feat(ui): document & clean up object renderer
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
2a2dadb952
|
feat(ui): split out object renderer
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
b60dcf8036
|
fix(ui): unable to hold shit while transforming to retain ratio
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
edeb706d19
|
tidy(ui): rename canvas stuff
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
cd76a2d217
|
tidy(ui): consolidate getLoggingContext builders
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
2aaa6c3986
|
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 21:27:35 +10:00 |
|
psychedelicious
|
dfdd56dbec
|
feat(ui): disable image smoothing on layers
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
f521704ade
|
fix(ui): round position when rasterizing layer
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
0e0cf9cd3e
|
feat(ui): continue modularizing transform
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
60484bd45e
|
feat(ui): fix a few things that didn't unsubscribe correctly, add helper to manage subscriptions
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
5978ba32c0
|
feat(ui): merge bbox outline into transformer
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
45efa8f40d
|
fix(ui): update parent's pos not transformers
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
3392e1f0bf
|
feat(ui): merge interaction rect into transformer class
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
c734385f18
|
feat(ui): prepare staging area
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
148434d833
|
feat(ui): typing for logging context
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
d5e4a965cc
|
feat(ui): remove inheritance of CanvasObject
JS is terrible
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
c8ac4d9e1b
|
feat(ui): split & document transformer logic, iterate on class structures
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
1e17461601
|
feat(ui): rotation snap to nearest 45deg when holding shift
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
4432244bc3
|
feat(ui): expose subscribe method for nanostores
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
0d087f84a5
|
tidy(ui): remove layer scaling reducers
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
286deb277b
|
fix(ui): pixel-perfect transforms
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
3f2c1139ea
|
fix(ui): layer visibility toggle
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
1f3163942a
|
fix(nodes): fix canvas mask erode
it wasn't eroding enough and caused incorrect transparency in result images
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
28affcc60a
|
fix(ui): do not reset layer on first render
|
2024-09-06 21:27:35 +10:00 |
|
psychedelicious
|
f59c2cf7f5
|
feat(ui): revised logging and naming setup, fix staging area
|
2024-09-06 21:27:35 +10:00 |
|
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 |
|