chnaged lift point

This commit is contained in:
2025-07-25 17:21:23 +02:00
parent 936514217a
commit 1df612aba7

View File

@@ -121,20 +121,20 @@ import html from '../utils/html.js';
<ul class="list-disc list-inside space-y-2">
<li>
Press <span class="key-icon space">SPACE</span> to play the audio and <span class="key-icon space">SPACE</span> again to pause at the lift point.
Press <span class="key-icon space">SPACE</span> to play the audio and <span class="key-icon space">SPACE</span> again to pause at the lifting point.
</li>
<li>
You may adjust the lift point by clicking and dragging the red line on the playback indicator.
You may adjust the lifting point by clicking and dragging the red line on the playback indicator.
</li>
<li>
Once you have paused at the lift point, press <span class="key-icon">ENTER</span> to confirm your selection before submitting.
Once you have paused at the lifting point, press <span class="key-icon">ENTER</span> to confirm your selection before submitting.
</li>
</ul>
<h2 class="text-base font-semibold text-black">Keyboard shortcuts:</h2>
<ul class="list-inside list-disc ml-5 mt-1 space-y-1 text-gray-600">
<li><span class="key-icon space">SPACE</span> Play/Pause</li>
<li><span class="key-icon">ENTER</span> Confirm lift point</li>
<li><span class="key-icon">ENTER</span> Confirm lifting point</li>
${allowSkip ? `
<li><span class="key-icon"><i class="fas fa-arrow-left"></i></span> Skip back 0.1s</li>
<li><span class="key-icon"><i class="fas fa-arrow-right"></i></span> Skip forward 0.1s</li>
@@ -335,7 +335,7 @@ import html from '../utils/html.js';
border-radius: 5px;
cursor: pointer;
margin-top: 20px;
">Submit Lift Point</button>
">Submit lifting point</button>
</div>
`;
@@ -582,7 +582,7 @@ import html from '../utils/html.js';
// Update display to show confirmation
markedPointDisplay.innerHTML = `
<div style="text-align: center; padding: 10px; background: #d1edff; border: 1px solid #3498db; border-radius: 5px; margin: 10px 0;">
<p style="margin: 5px 0; color: #2c3e50;">✓ Lift point confirmed at: ${formatPreciseTime(liftPointTime)}</p>
<p style="margin: 5px 0; color: #2c3e50;">✓ Lifting point confirmed at: ${formatPreciseTime(liftPointTime)}</p>
<p style="margin: 5px 0; font-size: 14px; color: #2c3e50;">Preview completed. Press Submit to continue, <span class="key-icon">ENTER</span> to play again, or mark a new point.</p>
</div>
`;