[vlc-commits] macosx: fix reversed order of advanced prefs items (close #15493)
David Fuhrmann
git at videolan.org
Mon Sep 21 19:12:59 CEST 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at 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 :/ */
+ at interface VLCFlippedView : NSView
+ at end
+
+ at implementation VLCFlippedView
+
+- (BOOL)isFlipped
+{
+ return YES;
+}
+
+ at 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) {
More information about the vlc-commits
mailing list