- added zoom options per camera and oneshot button
- enhanced to remove painting when in zoom mode
This commit is contained in:
@@ -86,6 +86,7 @@ const VideoFeedGridPainter = () => {
|
||||
const image = draw(latestBitmapRef);
|
||||
|
||||
const paintCell = (x: number, y: number) => {
|
||||
if (mode === "controller" || mode === "zoom" || mode === "magnify") return;
|
||||
const col = Math.floor(x / (size + gap));
|
||||
const row = Math.floor(y / (size + gap));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user