[vlc-commits] [Git][videolan/vlc][master] macosx: Click on an arbitrary timestamp on the video playback progress slider...
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Jul 2 13:54:41 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
acb1d6ed by bobbrysonn at 2025-07-02T13:28:24+00:00
macosx: Click on an arbitrary timestamp on the video playback progress slider to jump forward or backwards in the playback
- - - - -
1 changed file:
- modules/gui/macosx/windows/controlsbar/VLCControlsBarCommon.m
Changes:
=====================================
modules/gui/macosx/windows/controlsbar/VLCControlsBarCommon.m
=====================================
@@ -359,8 +359,12 @@
switch (NSApp.currentEvent.type) {
case NSEventTypeLeftMouseDown:
+ {
_isTimeSliderBeingDragged = YES;
+ const float newPosition = [sender floatValue];
+ [_playerController setPositionFast:newPosition];
break;
+ }
case NSEventTypeLeftMouseDragged:
case NSEventTypeScrollWheel:
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/acb1d6ed9fcff651cdcba62252a1248dc78c096e
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/acb1d6ed9fcff651cdcba62252a1248dc78c096e
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list