Ingvar Stepanyan
ca75f61289
Check for pending events before updating the config
...
Small optimisation that significantly reduces number of config updates.
2021-07-23 20:04:32 +00:00
Ingvar Stepanyan
a8fa8cdf4c
Gracefully handle unsupported capture
2021-07-23 19:19:40 +00:00
Ingvar Stepanyan
fcb67b1517
Gracefully handle unsupported preview operation
2021-07-23 17:22:29 +00:00
Ingvar Stepanyan
585001bd4e
Optimise Widget rendering
...
Names and lists of values should always remain the same, only update on value/readonly changes.
2021-07-23 17:01:40 +00:00
Ingvar Stepanyan
7b37bed6f2
Add stats.js for the preview panel when ?debug is on
2021-07-22 17:40:30 +00:00
Ingvar Stepanyan
4371da9270
Extract CaptureButton; allow non-singletone connections
2021-07-21 16:38:18 +00:00
Ingvar Stepanyan
73148dbc11
Split out Preview component
...
- Self-host the wrapper div.
- Make component accept getPreview as an async function prop.
- Explicitly dispose ResizeObserver on unmount.
- Move to a new file.
2021-07-21 15:26:59 +00:00
Ingvar Stepanyan
686dba0812
Detach Widget from setValue impl
2021-07-21 14:47:52 +00:00
Ingvar Stepanyan
70a35d1b70
Extract some modules
2021-07-21 14:37:57 +00:00