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

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


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

macosx: fix incorrect text shadow offset (close #7630)
(cherry picked from commit 94d4f4a69c9c424ab1f782b6e5461a9eed16bb41)

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

 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 a134f5b..ef8ee5c 100644
--- a/modules/gui/macosx/misc.m
+++ b/modules/gui/macosx/misc.m
@@ -646,7 +646,7 @@ void _drawFrameInRect(NSRect frameRect)
     {
         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