Browse Source

macosx/vlc_app/VLCMediaListLayer: Correctly go to the right layer.

pull/2/head
Pierre d'Herbemont 19 years ago
parent
commit
bbc02c3f6a
  1. 2
      projects/macosx/vlc_app/Sources/VLCMediaListLayer.m

2
projects/macosx/vlc_app/Sources/VLCMediaListLayer.m

@ -215,6 +215,7 @@
/* It is ok to scroll five layers */
if( selectedIndex - index < 5 )
{
while( index < selectedIndex )
[self changeSelectedLayerToPreviousIndex];
return;
}
@ -227,6 +228,7 @@
{
if( index - selectedIndex < 5 )
{
while( index > selectedIndex )
[self changeSelectedLayerToNextIndex];
return;
}

Loading…
Cancel
Save