InvokeAI/invokeai/frontend/web/src/features/regionalPrompts
psychedelicious 8a69fbd336 perf(ui): more bbox optimizations
- Keep track of whether the bbox needs to be recalculated (e.g. had lines/points added)
- Keep track of whether the bbox has eraser strokes - if yes, we need to do the full pixel-perfect bbox calculation, otherwise we can use the faster getClientRect
- Use comparison rather than Math.min/max in bbox calculation (slightly faster)
- Return `null` if no pixel data at all in bbox
2024-04-20 14:54:49 +10:00
..
components perf(ui): more bbox optimizations 2024-04-20 14:54:49 +10:00
hooks tidy(ui): selectedLayer -> selectedLayerId 2024-04-19 09:32:56 -04:00
store perf(ui): more bbox optimizations 2024-04-20 14:54:49 +10:00
util perf(ui): more bbox optimizations 2024-04-20 14:54:49 +10:00