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
..
2024-04-19 09:32:56 -04:00
2024-04-19 09:32:56 -04:00
2024-04-20 14:54:49 +10:00
2024-01-12 08:02:59 +11:00
2023-07-28 09:46:44 -04:00
2024-04-15 07:54:36 +10:00
2024-03-13 22:43:20 +11:00
2024-03-01 10:42:33 +11:00
2024-03-01 10:42:33 +11:00