MacOSX/VLC_app/VLCMainWindow.m: Fix playlist showing.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 7 Jan 2008 20:45:15 +0000 (20:45 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 7 Jan 2008 20:45:15 +0000 (20:45 +0000)
extras/MacOSX/VLC_app/Sources/VLCMainWindow.m

index 4949464..22b405a 100644 (file)
     {
         /* Hide the navigator view (playlist view) */
         navigatorHeight = [navigatorView bounds].size.height;
     {
         /* Hide the navigator view (playlist view) */
         navigatorHeight = [navigatorView bounds].size.height;
-        [[self animator] setContentHeight:[mainSplitView bounds].size.height - navigatorHeight + [mainSplitView dividerThickness]];
+        [[self animator] setContentHeight:[mainSplitView bounds].origin.y + [mainSplitView bounds].size.height - navigatorHeight];
         /* Hack, because sliding cause some glitches */
         [navigatorView moveSubviewsToVisible];
     }
         /* Hack, because sliding cause some glitches */
         [navigatorView moveSubviewsToVisible];
     }