[vlc-commits] macosx: reveal currently playing item in list by scrolling accordingly ( closs #16470
Felix Paul Kühne
git at videolan.org
Sat Jun 4 15:22:47 CEST 2016
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jun 4 15:22:54 2016 +0200| [99dadbef6016351724a042a561feb1c38a2f16f0] | committer: Felix Paul Kühne
macosx: reveal currently playing item in list by scrolling accordingly (closs #16470
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=99dadbef6016351724a042a561feb1c38a2f16f0
---
modules/gui/macosx/VLCPlaylist.m | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/macosx/VLCPlaylist.m b/modules/gui/macosx/VLCPlaylist.m
index e34f80f..ac133b2 100644
--- a/modules/gui/macosx/VLCPlaylist.m
+++ b/modules/gui/macosx/VLCPlaylist.m
@@ -282,6 +282,7 @@
}
[_outlineView selectRowIndexes: [NSIndexSet indexSetWithIndex: itemIndex] byExtendingSelection: NO];
+ [_outlineView scrollRowToVisible: itemIndex];
}
#pragma mark -
More information about the vlc-commits
mailing list