fix: center progress thumb on pointer while seeking

This commit is contained in:
2026-10-22 12:37:01 +02:00
parent 19a1de625b
commit 40e2ea45a0
3 changed files with 6 additions and 12 deletions
+2 -2
View File
@@ -201,9 +201,9 @@ struct CastPlaybackCheck {
_ = NSApplication.shared
NSApp.setActivationPolicy(.prohibited)
require(castVolumeSliderFeedbackCheck(), "Native slider keeps user position during tracking and applies receiver volume when idle")
require(playbackSliderHitCheck(), "Progress slider seeks beside the thumb and preserves cursor alignment throughout dragging")
require(playbackSliderHitCheck(), "Progress thumb centers on the cursor for clicks and drags, clamped to track endpoints")
if CommandLine.arguments.count == 2, CommandLine.arguments[1] == "--slider-regression" {
print("PASS: adjacent seeking, thumb and track drag alignment, and volume tracking feedback")
print("PASS: centered progress clicks and drags, endpoint clamping, and volume tracking feedback")
return
}
let source = URL(fileURLWithPath: CommandLine.arguments[1])