Move overlay toggle into calibration visual editor, add tutorial step

Place the overlay button inside the preview screen as a pill toggle,
add it as a tutorial step that auto-skips in device calibration mode.
Tutorial engine now skips hidden/missing targets in both directions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 00:50:39 +03:00
parent f2f67493b1
commit 68ce394ccc
6 changed files with 53 additions and 14 deletions

View File

@@ -416,6 +416,34 @@
font-size: 14px;
}
/* Overlay toggle inside the preview screen */
.calibration-overlay-toggle {
display: flex;
align-items: center;
gap: 4px;
height: 26px;
padding: 0 10px;
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 12px;
color: white;
font-family: inherit;
font-size: 12px;
box-sizing: border-box;
cursor: pointer;
transition: background 0.2s, border-color 0.2s;
user-select: none;
}
.calibration-overlay-toggle:hover {
background: rgba(255, 255, 255, 0.25);
}
.calibration-overlay-toggle.active {
background: rgba(76, 175, 80, 0.35);
border-color: rgba(76, 175, 80, 0.7);
}
.preview-hint {
text-align: center;
font-size: 0.8rem;