vlc | branch: master | David Fuhrmann <dfuhrm...@videolan.org> | Sun Sep 20 
15:30:28 2015 +0200| [e35efa48841e22b967c755d755244acaaa71938b] | committer: 
David Fuhrmann

macosx: fix reversed order of advanced prefs items (close #15493)

This reverts code which was deleted for no reason. :-)

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

 modules/gui/macosx/prefs.m |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index 0f6f8b1..7d6b976 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -68,6 +68,18 @@
 
 /* /!\ Warning: Unreadable code :/ */
 
+@interface VLCFlippedView : NSView
+@end
+
+@implementation VLCFlippedView
+
+- (BOOL)isFlipped
+{
+    return YES;
+}
+
+@end
+
 @interface VLCTreeItem : NSObject
 {
     NSString *_name;
@@ -302,7 +314,7 @@
 
     [self.prefsViewController setTitle: [self name]];
     s_vrc = [[prefsView contentView] bounds]; s_vrc.size.height -= 4;
-    view = [[NSView alloc] initWithFrame: s_vrc];
+    view = [[VLCFlippedView alloc] initWithFrame: s_vrc];
     [view setAutoresizingMask: NSViewWidthSizable | NSViewMinYMargin | 
NSViewMaxYMargin];
 
     if (!_subviews) {

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to