mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Updated CHANGELOG and fixed a couple compiler warnings.
This commit is contained in:
parent
a3d2d54fc4
commit
45f6795ccf
@ -6,6 +6,7 @@ user-facing:
|
||||
bring up a context menu with the ability to jump to the album or enqueue the
|
||||
album's tracks for playback. this also had a nice side effect of making
|
||||
scrolling more fluid!
|
||||
* added jumping to album/artist/genre to the selected track context menu
|
||||
* fixed a really old bug that could cause lists to automatically scroll to weird
|
||||
places if the window or view is resized
|
||||
* added localization support for "dimensions". this allows for per-locale sizing
|
||||
|
@ -297,7 +297,7 @@ void PlayQueueOverlays::ShowAddTrackOverlay(
|
||||
[track, &messageQueue, &playback]
|
||||
(ListOverlay* overlay, IScrollAdapterPtr adapter, size_t index) {
|
||||
auto editor = playback.Edit();
|
||||
if (index >= 0 && index <= 2) {
|
||||
if (index <= 2) {
|
||||
handleJumpTo(index, messageQueue, track);
|
||||
}
|
||||
else if (index == 3) { /* end */
|
||||
@ -375,7 +375,7 @@ void PlayQueueOverlays::ShowAlbumDividerOverlay(
|
||||
}
|
||||
|
||||
/* items 0, 1, and 2 jump to category */
|
||||
if (index >= 0 && index <= 2) {
|
||||
if (index <= 2) {
|
||||
handleJumpTo(index, messageQueue, firstTrack);
|
||||
}
|
||||
/* the other are our standard play queue operations */
|
||||
|
Loading…
Reference in New Issue
Block a user