[Fixed] Allow dragging over top and bottom queue buttons, moved top and bottom buttons to top and bottom of queue #1486
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It was always the case that the arrows would only appear if the queue length was at least 11 (literally
if len(queue) > 11:). Nothing #1457 did changed that, all it did was move the buttons to logical positions and added dragover events to them.I've set it to 9 now. I think it made more sense with the original 11 it was always at, but up to you. It's a single digit variable to change it.
The scrollbars first appear at 9 queue items (10 total, but the 0th index one is added to the preview, not the queue), but while the scrollbar is visible at 9, the scrollbar doesn't do anything besides move down about 1 pixel (not even below the bottom queue item). If the scrollbar itself is redundant, so is a scroll to bottom shortcut.
At 10, the scroll to bottom button is still redundant. You can scroll below 1 queue item with the scrollbar or mouse, but there'd still be no point pressing "scroll to bottom", since you can already scroll that 1 item as fast or faster using the scrollbar or mouse wheel. Hence it was started at 11: the moment it becomes feasibly useful.