@blueharford/scrypted-spatial-awareness 0.6.21 → 0.6.22
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/main.nodejs.js +1 -1
- package/dist/main.nodejs.js.map +1 -1
- package/dist/plugin.zip +0 -0
- package/out/main.nodejs.js +2 -2
- package/out/main.nodejs.js.map +1 -1
- package/out/plugin.zip +0 -0
- package/package.json +1 -1
- package/src/ui/editor-html.ts +2 -2
package/out/plugin.zip
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/ui/editor-html.ts
CHANGED
|
@@ -343,7 +343,7 @@ export const EDITOR_HTML = `<!DOCTYPE html>
|
|
|
343
343
|
<div class="modal-overlay" id="add-zone-modal">
|
|
344
344
|
<div class="modal">
|
|
345
345
|
<h2>Create Zone</h2>
|
|
346
|
-
<p style="color: #888; margin-bottom: 15px; font-size: 13px;">Click points on the canvas to draw a polygon.
|
|
346
|
+
<p style="color: #888; margin-bottom: 15px; font-size: 13px;">Click points on the canvas to draw a polygon. Click "Finish Zone" button or press Enter to complete.</p>
|
|
347
347
|
<div class="form-group">
|
|
348
348
|
<label>Zone Name</label>
|
|
349
349
|
<input type="text" id="zone-name-input" placeholder="e.g., Front Yard">
|
|
@@ -1110,7 +1110,7 @@ export const EDITOR_HTML = `<!DOCTYPE html>
|
|
|
1110
1110
|
ctx.fillStyle = '#fff';
|
|
1111
1111
|
ctx.font = 'bold 12px sans-serif';
|
|
1112
1112
|
ctx.textAlign = 'left';
|
|
1113
|
-
ctx.fillText('Click to add points.
|
|
1113
|
+
ctx.fillText('Click to add points. Click "Finish Zone" button or press Enter to complete. Esc to cancel.', 10, canvas.height - 10);
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
1116
|
// Draw landmarks first (below cameras and connections)
|