Compare commits

...

2 Commits

Author SHA1 Message Date
Hördle Bot
aed300b1bb Bump version to 0.1.6.23 2025-12-05 23:55:24 +01:00
Hördle Bot
e93b3b9096 Keep playback cursor visible when pausing in waveform editor 2025-12-05 23:55:21 +01:00
2 changed files with 3 additions and 4 deletions

View File

@@ -240,18 +240,17 @@ export default function WaveformEditor({ audioUrl, startTime, duration, unlockSt
if (savePosition && playbackPosition !== null) {
// Save current position for resume
setPausedPosition(playbackPosition);
// Keep playbackPosition visible (don't set to null) so cursor stays visible
} else {
// Clear paused position if stopping completely
setPausedPosition(null);
setPausedType(null);
setPlaybackPosition(null);
}
sourceRef.current?.stop();
setIsPlaying(false);
setPlayingSegment(null);
setIsPlayingFullTitle(false);
if (!savePosition) {
setPlaybackPosition(null);
}
if (animationFrameRef.current) {
cancelAnimationFrame(animationFrameRef.current);
animationFrameRef.current = null;

View File

@@ -1,6 +1,6 @@
{
"name": "hoerdle",
"version": "0.1.6.22",
"version": "0.1.6.23",
"private": true,
"scripts": {
"dev": "next dev",