fix: center progress thumb on pointer while seeking
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user