[vlc-commits] macosx: Set dark style of time slider for dark interface

Marvin Scholz git at videolan.org
Thu Jul 20 01:37:19 CEST 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Jul 20 01:33:15 2017 +0200| [774a71ce060f7e86865e81d14401a8c9ea7b35d7] | committer: Marvin Scholz

macosx: Set dark style of time slider for dark interface

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=774a71ce060f7e86865e81d14401a8c9ea7b35d7
---

 modules/gui/macosx/VLCControlsBarCommon.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/macosx/VLCControlsBarCommon.m b/modules/gui/macosx/VLCControlsBarCommon.m
index 63cac682ee..2e103356f5 100644
--- a/modules/gui/macosx/VLCControlsBarCommon.m
+++ b/modules/gui/macosx/VLCControlsBarCommon.m
@@ -74,6 +74,8 @@
     [self.timeSlider setToolTip: _NS("Position")];
     [[self.timeSlider cell] accessibilitySetOverrideValue:_NS("Click and move the mouse while keeping the button pressed to use this slider to change current playback position.") forAttribute:NSAccessibilityDescriptionAttribute];
     [[self.timeSlider cell] accessibilitySetOverrideValue:[self.timeSlider toolTip] forAttribute:NSAccessibilityTitleAttribute];
+    if (_darkInterface)
+        [self.timeSlider setSliderStyleDark];
 
     [self.fullscreenButton setToolTip: _NS("Toggle Fullscreen mode")];
     [[self.fullscreenButton cell] accessibilitySetOverrideValue:_NS("Click to enable fullscreen video playback.") forAttribute:NSAccessibilityDescriptionAttribute];



More information about the vlc-commits mailing list