psychedelicious
8f0f51be2c
perf(ui): fix lag w/ region rendering
...
Needed to memoize these selectors
2024-08-23 19:46:03 +10:00
psychedelicious
7179e250ed
feat(ui): move canvas fill color picker to right
2024-08-23 19:46:03 +10:00
psychedelicious
5bec091fd6
refactor(ui): remove unused ellipse & polygon objects
2024-08-23 19:46:03 +10:00
psychedelicious
2c5896cb0c
fix(ui): incorrect rect/brush/eraser positions
2024-08-23 19:46:03 +10:00
psychedelicious
93ff252dc0
refactor(ui): enable global debugging flag
2024-08-23 19:46:03 +10:00
psychedelicious
ac52224455
refactor(ui): disable the preview renderer for now
2024-08-23 19:46:03 +10:00
psychedelicious
4087cad23d
tweak(ui): canvas editor layout
2024-08-23 19:46:03 +10:00
psychedelicious
e936b1ff8f
perf(ui): memoize layeractionsmenu valid actions
2024-08-23 19:46:03 +10:00
psychedelicious
b7f9c5e221
refactor(ui): decouple konva renderer from react
...
Subscribe to redux store directly, skipping all the react overhead.
With react in dev mode, a typical frame while using the brush tool on almost-empty canvas is reduced from ~7.5ms to ~3.5ms. All things considered, this still feels slow, but it's a massive improvement.
2024-08-23 19:46:03 +10:00
psychedelicious
fc5467150e
feat(ui): clip lines to bbox
2024-08-23 19:46:03 +10:00
psychedelicious
4dcab357a0
fix(ui): document fit positioning
2024-08-23 19:46:03 +10:00
psychedelicious
695e464255
feat(ui): document bounds overlay
2024-08-23 19:46:03 +10:00
psychedelicious
9999b60c3b
tidy(ui): background layer
2024-08-23 19:46:03 +10:00
psychedelicious
e7df53e260
refactor(ui): use "entity" instead of "data" for canvas
2024-08-23 19:46:03 +10:00
psychedelicious
844590a571
feat(ui): brush size border radius = 1
2024-08-23 19:46:03 +10:00
psychedelicious
9622beaa0d
fix(ui): canvas HUD doesn't interrupt tool
2024-08-23 19:46:03 +10:00
psychedelicious
007e2553a8
refactor(ui): split up canvas entity renderers, temp disable preview
2024-08-23 19:46:03 +10:00
psychedelicious
15ad4e3f5e
fix(ui): delete all layers button
2024-08-23 19:46:03 +10:00
psychedelicious
be5094fcb4
fix(ui): ignore keyboard shortcuts in input/textarea elements
2024-08-23 19:46:03 +10:00
psychedelicious
a20a861680
fix(ui): canvas entity ids getting clobbered
2024-08-23 19:46:03 +10:00
psychedelicious
396d0a4bc0
fix(ui): move lora followup fixes
2024-08-23 19:46:03 +10:00
psychedelicious
ca9314e077
chore(ui): lint
2024-08-23 19:46:03 +10:00
psychedelicious
4b848798e7
refactor(ui): move loras to canvas slice
2024-08-23 19:46:03 +10:00
psychedelicious
083bcbc77d
fix(ui): layer is selected when added
2024-08-23 19:46:03 +10:00
psychedelicious
e8cdc9ae62
feat(ui): r to center & fit stage on document
2024-08-23 19:46:03 +10:00
psychedelicious
8abfa759a4
feat(ui): better HUD
2024-08-23 19:46:03 +10:00
psychedelicious
f6a324b633
fix(ui): always use current brush width when making straight lines
2024-08-23 19:46:03 +10:00
psychedelicious
f083be9391
feat(ui): hold shift w/ brush to draw straight line
2024-08-23 19:46:03 +10:00
psychedelicious
091e2fb751
fix(ui): update bg on canvas resize
2024-08-23 19:46:03 +10:00
psychedelicious
d8539daf1f
refactor(ui): better hud
2024-08-23 19:46:03 +10:00
psychedelicious
7ec059f5fa
refactor(ui): scaled tool preview border
2024-08-23 19:46:03 +10:00
psychedelicious
4f2ecdefd2
refactor(ui): port remaining canvasV1 rendering logic to V2, remove old code
2024-08-23 19:46:03 +10:00
psychedelicious
e8891a1988
refactor(ui): fix more types
2024-08-23 19:46:03 +10:00
psychedelicious
37d2607f34
refactor(ui): metadata recall (wip)
...
just enough let the app run
2024-08-23 19:46:03 +10:00
psychedelicious
0e7b10d3d9
refactor(ui): undo/redo button temp fix
2024-08-23 19:46:03 +10:00
psychedelicious
1f85888638
refactor(ui): fix renderer stuff
2024-08-23 19:46:03 +10:00
psychedelicious
c1f9a129fa
refactor(ui): fix misc types
2024-08-23 19:46:03 +10:00
psychedelicious
7ccc5ba398
refactor(ui): fix gallery stuff
2024-08-23 19:46:03 +10:00
psychedelicious
5e1a6ae334
refactor(ui): fix delete image stuff
2024-08-23 19:46:03 +10:00
psychedelicious
3f6cf638f9
refactor(ui): fix useIsReadyToEnqueue for new adapterType field
2024-08-23 19:46:03 +10:00
psychedelicious
46e062a828
refactor(ui): update generation tab graphs
2024-08-23 19:46:02 +10:00
psychedelicious
cc3a0b5d6c
refactor(ui): add adapterType
to ControlAdapterData
2024-08-23 19:46:02 +10:00
psychedelicious
775479ab7b
refactor(ui): update components & logic to use new unified slice (again)
2024-08-23 19:46:02 +10:00
psychedelicious
6b9e0e6d63
refactor(ui): update components & logic to use new unified slice
2024-08-23 19:46:02 +10:00
psychedelicious
83a5c87f5e
refactor(ui): merge compositing, params into canvasV2 slice
2024-08-23 19:46:02 +10:00
psychedelicious
84fde74331
refactor(ui): add scaled bbox state
2024-08-23 19:46:02 +10:00
psychedelicious
a517e29b39
refactor(ui): update dnd/image upload
2024-08-23 19:46:02 +10:00
psychedelicious
ccceba7565
refactor(ui): update size/prompts state
2024-08-23 19:46:02 +10:00
psychedelicious
5fc7a03669
refactor(ui): rip out old control adapter implementation
2024-08-23 19:46:02 +10:00
psychedelicious
8864ad1b50
refactor(ui): canvas v2 (wip)
...
fix entity count select
2024-08-23 19:46:02 +10:00