scrypted-detection-trainer 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plugin.zip CHANGED
Binary file
@@ -2443,7 +2443,7 @@ function loadBrowseImage(i, ev) {
2443
2443
  fullCanvas.onclick = () => openLightboxImg(img, ev.cameraName, ev.timestamp);
2444
2444
  }
2445
2445
  // Hide crop panel — no bounding box available
2446
- const cropPanel = document.getElementById('bcanvas-crop-' + i)?.closest('.img-panel') as HTMLElement;
2446
+ const cropPanel = document.getElementById('bcanvas-crop-' + i)?.closest('.img-panel');
2447
2447
  if (cropPanel) cropPanel.style.display = 'none';
2448
2448
  URL.revokeObjectURL(url);
2449
2449
  };