Commit fc48d336 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

MacOSX/VLC_app: Only get stuck at the very bottom of the nav view.

parent 882c580c
......@@ -314,12 +314,10 @@
/* Hack, because sliding cause some glitches */
[navigatorView moveSubviewsToVisible];
/* Get the bottom of the navigator view to get stuck at some points */
if( [sender bounds].size.height - proposedPosition < minHeight*3./2. &&
[sender bounds].size.height - proposedPosition >= minHeight/2 )
return [sender bounds].size.height - minHeight;
if( [sender bounds].size.height - proposedPosition < minHeight/2 )
/* Make a stuck point at the bottom of the nav view */
if( [sender bounds].size.height - proposedPosition < minHeight )
return [sender bounds].size.height;
return proposedPosition;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment