diff --git a/web/assets/backgrounds/image_spec.md b/web/assets/backgrounds/image_spec.md index fb51b91..2e15975 100644 --- a/web/assets/backgrounds/image_spec.md +++ b/web/assets/backgrounds/image_spec.md @@ -61,7 +61,7 @@ This file tells the web UI where your letters/targets are located in **physical } ``` - **hasAlphabet**: (Optional, boolean) If `true`, this background is used for the "Input Text" feature. The letters in `spots` are used to spell out typed input. -- **parkPosition**: (Optional, object) Defines a background-specific "Park Position" or resting spot where the arm can go when not actively in use. If omitted, defaults to `{ "x": 0, "y": 0 }`. +- **parkPosition**: (Optional, object) Defines a background-specific "Park Position" or resting spot where the arm can go when not actively in use. If omitted, defaults to `{ "x": 0, "y": 80 }`. - **bounds**: Defines the physical bounding box (in mm) that your background image represents. This automatically adjusts the UI's aspect ratio and coordinate mapping! - **spots**: Array of target objects. - **id**: Unique identifier for the dropdown list. diff --git a/web/js/sections/board-control.js b/web/js/sections/board-control.js index 6d94208..e57dbb7 100644 --- a/web/js/sections/board-control.js +++ b/web/js/sections/board-control.js @@ -197,7 +197,7 @@ async function loadSpots() { const res = await fetch(`web/assets/backgrounds/${currentBg}/spots.json?v=${Date.now()}`); const data = await res.json(); let parsedSpots = []; - let parkPosition = { x: 0, y: 0 }; + let parkPosition = { x: 0, y: 80 }; if (Array.isArray(data)) { parsedSpots = data; diff --git a/web/js/sections/input-text.js b/web/js/sections/input-text.js index 1707109..552b3d0 100644 --- a/web/js/sections/input-text.js +++ b/web/js/sections/input-text.js @@ -251,7 +251,7 @@ async function loadSpots() { } let parsedSpots = []; - let parkPosition = { x: 0, y: 0 }; + let parkPosition = { x: 0, y: 80 }; if (Array.isArray(data)) { parsedSpots = data; diff --git a/web/js/sections/sequence-editor.js b/web/js/sections/sequence-editor.js index 2e719c4..1d69524 100644 --- a/web/js/sections/sequence-editor.js +++ b/web/js/sections/sequence-editor.js @@ -416,7 +416,7 @@ async function loadSpots() { const res = await fetch(`web/assets/backgrounds/${currentBg}/spots.json?v=${Date.now()}`); const data = await res.json(); let parsedSpots = []; - let parkPosition = { x: 0, y: 0 }; + let parkPosition = { x: 0, y: 80 }; if (Array.isArray(data)) { parsedSpots = data;