psychedelicious
37b02ba467
fix(ui): do not floor bbox calc, it cuts off the last pixels
2024-09-06 22:56:24 +10:00
psychedelicious
971da20198
feat(ui): fix issue where creating line needs 2 points
2024-09-06 22:56:24 +10:00
psychedelicious
f55711c14b
fix(ui): edge cases when holding shift and drawing lines
2024-09-06 22:56:24 +10:00
psychedelicious
2f6e4c4a4a
fix(ui): set buffered rect color to full alpha
2024-09-06 22:56:24 +10:00
psychedelicious
a0fc840835
fix(ui): handle mouseup correctly
2024-09-06 22:56:24 +10:00
psychedelicious
b65866cb2e
feat(ui): buffered rect drawing
2024-09-06 22:56:24 +10:00
psychedelicious
dffa0bb2fe
fix(ui): buffered drawing edge cases
2024-09-06 22:56:24 +10:00
psychedelicious
8e56452df8
perf(ui): do not use stage.find
2024-09-06 22:56:24 +10:00
psychedelicious
839e24e597
perf(ui): object groups do not listen
2024-09-06 22:56:24 +10:00
psychedelicious
44c68f8551
perf(ui): buffered drawing (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
5b17bbaac2
tidy(ui): organise files
2024-09-06 22:56:24 +10:00
psychedelicious
a9ec37ea79
tidy(ui): organise files
2024-09-06 22:56:24 +10:00
psychedelicious
8ed4351a9a
tidy(ui): organise files
2024-09-06 22:56:24 +10:00
psychedelicious
c7b88219d3
fix(ui): background rendering
2024-09-06 22:56:24 +10:00
psychedelicious
083b7d99c8
feat(ui): organize konva state and files
2024-09-06 22:56:24 +10:00
psychedelicious
e56b5e6966
fix(ui): region rendering
2024-09-06 22:56:24 +10:00
psychedelicious
5a8fb2af90
fix(ui): inpaint mask rendering
2024-09-06 22:56:24 +10:00
psychedelicious
8d08d456b6
fix(ui): staging area rendering
2024-09-06 22:56:24 +10:00
psychedelicious
a6c2497b35
fix(ui): stale selected entity
2024-09-06 22:56:24 +10:00
psychedelicious
a2840d31bd
feat(ui): transformable layers
2024-09-06 22:56:24 +10:00
psychedelicious
dc51374601
feat(ui): do not floor cursor position
2024-09-06 22:56:24 +10:00
psychedelicious
fdb27d836d
feat(ui): revised canvas progress & staging image handling
2024-09-06 22:56:24 +10:00
psychedelicious
92a1d41eac
feat(ui): canvas staging area works
2024-09-06 22:56:24 +10:00
psychedelicious
8a0f723b28
feat(ui): switch to view tool when staging
2024-09-06 22:56:24 +10:00
psychedelicious
e7933cdae1
feat(ui): staging area image visibility toggle
2024-09-06 22:56:24 +10:00
psychedelicious
1ea31f6952
tidy(ui): naming things
2024-09-06 22:56:24 +10:00
psychedelicious
b19bbc9212
tidy(ui): file organisation
2024-09-06 22:56:24 +10:00
psychedelicious
16ce3da31f
fix(ui): reset cursor pos when fitting document
2024-09-06 22:56:24 +10:00
psychedelicious
91bf5ac9a2
feat(ui): staging area works more better
2024-09-06 22:56:24 +10:00
psychedelicious
9d51882192
feat(ui): staging area barely works
2024-09-06 22:56:24 +10:00
psychedelicious
ac99d61e17
feat(ui): consolidate konva API
2024-09-06 22:56:24 +10:00
psychedelicious
b21c28e8fe
feat(ui): consolidate konva API
2024-09-06 22:56:24 +10:00
psychedelicious
361d3383fc
feat(ui): staging area (rendering wip)
2024-09-06 22:56:24 +10:00
psychedelicious
3bd180882c
feat(ui): temp disable image caching while testing
2024-09-06 22:56:24 +10:00
psychedelicious
4235885d47
feat(ui): simplified konva node to blob/imagedata utils
2024-09-06 22:56:24 +10:00
psychedelicious
6dc8f5b42e
feat(ui): node manager getter/setter
2024-09-06 22:56:24 +10:00
psychedelicious
bf8d2250ca
feat(ui): generation mode calculation, fudged graphs
2024-09-06 22:56:24 +10:00
psychedelicious
1b2d045be1
feat(ui): add utils for getting images from canvas
2024-09-06 22:56:24 +10:00
psychedelicious
04df9f5873
feat(ui): even more simplified API - lean on the konva node manager to abstract imperative state API & rendering
2024-09-06 22:56:24 +10:00
psychedelicious
849b775e55
feat(ui): revised docstrings for renderers & simplified api
2024-09-06 22:56:24 +10:00
psychedelicious
d3a183fe1d
feat(ui): inpaint mask rendering (wip)
2024-09-06 22:56:24 +10:00
psychedelicious
ac0f93f2c2
refactor(ui): divvy up canvas state a bit
2024-09-06 22:56:24 +10:00
psychedelicious
8a75b1411a
feat(ui): get region and base layer canvas to blob logic working
2024-09-06 22:56:24 +10:00
psychedelicious
0d552d0ba6
refactor(ui): node manager handles more tedious annoying stuff
2024-09-06 22:56:24 +10:00
psychedelicious
7899c0ef78
feat(ui): add toggle for clipToBbox
2024-09-06 22:56:24 +10:00
psychedelicious
543af856de
feat(ui): rename konva node manager
2024-09-06 22:56:24 +10:00
psychedelicious
3e21106336
refactor(ui): create classes to abstract mgmt of konva nodes
2024-09-06 22:56:24 +10:00
psychedelicious
9295985082
tidy(ui): organise renderers
2024-09-06 22:56:24 +10:00
psychedelicious
3ccd58af50
refactor(ui): create entity to konva node map abstraction (wip)
...
Instead of chaining konva `find` and `findOne` methods, all konva nodes are added to a mapping object. Finding and manipulating them is much simpler.
Done for regions and layers, wip for control adapters.
2024-09-06 22:56:24 +10:00
psychedelicious
1c6015ca73
fix(ui): incorrect rect/brush/eraser positions
2024-09-06 22:56:24 +10:00