psychedelicious
ebef4feddb
fix(ui): ip adapter list item
2024-09-06 21:27:36 +10:00
psychedelicious
0a34bebd9c
tidy(ui): clean up unused logic
2024-09-06 21:27:36 +10:00
psychedelicious
d6acd96dec
feat(ui): clean up state, add mutex for image loading, add thumbnail loading
2024-09-06 21:27:36 +10:00
psychedelicious
3ac88acf11
chore(ui): add async-mutex dep
2024-09-06 21:27:36 +10:00
psychedelicious
2a7cffed2a
feat(ui): txt2img, img2img, inpaint & outpaint working
2024-09-06 21:27:36 +10:00
psychedelicious
08c2089b3d
feat(ui): no padding on transformer outlines
2024-09-06 21:27:36 +10:00
psychedelicious
87521b07ce
feat(ui): restore object count to layer titles
2024-09-06 21:27:36 +10:00
psychedelicious
5de7efc1dc
tidy(ui): "useIsEntitySelected" -> "useEntityIsSelected"
2024-09-06 21:27:36 +10:00
psychedelicious
d4fb80772e
tidy(ui): move transformer statics into class
2024-09-06 21:27:36 +10:00
psychedelicious
97886bf62e
tidy(ui): massive cleanup
...
- create a context for entity identifiers, massively simplifying UI for each entity int he list
- consolidate common redux actions
- remove now-unused code
2024-09-06 21:27:36 +10:00
psychedelicious
83657e0a68
perf(ui): do not add duplicate points to lines
2024-09-06 21:27:36 +10:00
psychedelicious
adf293f6c9
feat(ui): up line tension to 0.3
2024-09-06 21:27:36 +10:00
psychedelicious
d35120feb9
perf(ui): disable stroke, perfect draw on compositing rect
2024-09-06 21:27:36 +10:00
psychedelicious
00020f49fe
tidy(ui): remove unused code, initial image
2024-09-06 21:27:36 +10:00
psychedelicious
206d1b231a
tidy(ui): remove unused state & actions
2024-09-06 21:27:36 +10:00
psychedelicious
008d8f491c
feat(ui): region mask rendering
2024-09-06 21:27:36 +10:00
psychedelicious
ae5543b6fa
feat(ui): esc cancels drawing buffer
...
maybe this is not wanted? we'll see
2024-09-06 21:27:36 +10:00
psychedelicious
2c2e6c5c25
fix(ui): render transformer over objects, fix issue w/ inpaint rect color
2024-09-06 21:27:36 +10:00
psychedelicious
718bed5758
fix(ui): brush preview fill for inpaint/region
2024-09-06 21:27:36 +10:00
psychedelicious
d2c524e7fd
fix(ui): no objects rendered until vis toggled
2024-09-06 21:27:36 +10:00
psychedelicious
c172221038
feat(ui): inpaint mask transform
2024-09-06 21:27:36 +10:00
psychedelicious
b006edf9c4
fix(ui): layer accidental early set isFirstRender=false
2024-09-06 21:27:36 +10:00
psychedelicious
9f2dc4d6d1
fix(ui): inpaint mask rendering
2024-09-06 21:27:36 +10:00
psychedelicious
8816d6c0c5
feat(ui): wip inpaint mask uses new API
2024-09-06 21:27:36 +10:00
psychedelicious
6dddad01fc
feat(ui): move updatePosition to transformer
2024-09-06 21:27:36 +10:00
psychedelicious
7b7f0a7380
feat(ui): move resetScale to transformer
2024-09-06 21:27:36 +10:00
psychedelicious
8f780e79e7
tidy(ui): more imperative naming
2024-09-06 21:27:36 +10:00
psychedelicious
5a2b00fb95
tidy(ui): use imperative names for setters in stateapi
2024-09-06 21:27:36 +10:00
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