[vlc-commits] macosx: fix incorrect text shadow offset (close #7630)

Felix Paul Kühne git at videolan.org
Thu Nov 15 19:45:07 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Thu Nov 15 19:33:40 2012 +0100| [94d4f4a69c9c424ab1f782b6e5461a9eed16bb41] | committer: Felix Paul Kühne

macosx: fix incorrect text shadow offset (close #7630)

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

 modules/gui/macosx/misc.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m
index 8fa0dcf..6c03a3b 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -599,7 +599,7 @@ void _drawFrameInRect(NSRect frameRect)
     if (!o_string_shadow) {
         o_string_shadow = [[NSShadow alloc] init];
         [o_string_shadow setShadowColor: [NSColor colorWithCalibratedWhite:1.0 alpha:0.5]];
-        [o_string_shadow setShadowOffset:NSMakeSize(0.0, -1.5)];
+        [o_string_shadow setShadowOffset:NSMakeSize(0.0, -1.0)];
         [o_string_shadow setShadowBlurRadius:0.0];
     }
 



More information about the vlc-commits mailing list