Merge pull request #3870 from leondeklerk/unhide-scrollbuttons

This commit is contained in:
Bill Thornton
2022-09-03 10:03:13 -04:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
@@ -45,6 +45,9 @@ const EmbyScrollButtonsPrototype = Object.create(HTMLDivElement.prototype);
if (scrollWidth <= scrollSize + 20) {
scrollButtons.scrollButtonsLeft.classList.add('hide');
scrollButtons.scrollButtonsRight.classList.add('hide');
} else {
scrollButtons.scrollButtonsLeft.classList.remove('hide');
scrollButtons.scrollButtonsRight.classList.remove('hide');
}
if (scrollPos > 0) {