[vlc-commits] macOS: Adjust stroke color of VLCHUDTextFieldCell

Marvin Scholz git at videolan.org
Wed Jun 21 00:35:51 CEST 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Jun 21 00:22:21 2017 +0200| [f47e53a26518e334d6dcdcbfb5a201f1dd442cce] | committer: Marvin Scholz

macOS: Adjust stroke color of VLCHUDTextFieldCell

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

 modules/gui/macosx/VLCHUDTextFieldCell.m | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/VLCHUDTextFieldCell.m b/modules/gui/macosx/VLCHUDTextFieldCell.m
index 364b54e62c..61104605a2 100644
--- a/modules/gui/macosx/VLCHUDTextFieldCell.m
+++ b/modules/gui/macosx/VLCHUDTextFieldCell.m
@@ -91,14 +91,15 @@
     [_focusRing setShadowOffset:NSMakeSize(0, 0)];
 
     _strokeColor = [NSColor colorWithDeviceRed:0.749f green:0.761f blue:0.788f alpha:1.0f];
-    _disabledStrokeColor = [NSColor colorWithDeviceRed:0.749f green:0.761f blue:0.788f alpha:0.2f];
+    _disabledStrokeColor = [NSColor colorWithDeviceRed:1 green:1 blue:1 alpha:0.2f];
+
     _selectionHighlightActiveColor = [NSColor darkGrayColor];
     _selectionTextActiveColor = [NSColor whiteColor];
     _selectionHighlightInActiveColor = [NSColor darkGrayColor];
     _selectionTextInActiveColor = [NSColor whiteColor];
+
     _placeholderTextColor = [NSColor grayColor];
     _cellTextColor = [NSColor whiteColor];
-    _disabledStrokeColor = [NSColor colorWithDeviceRed:1 green:1 blue:1 alpha:0.2f];
     _textFillColor = [NSColor colorWithDeviceRed:.224f green:.224f blue:.224f alpha:.95f];
 
     // Init some properties



More information about the vlc-commits mailing list