Closed basvandenberg closed 3 years ago
This pull request adds the option to auto-hide the vertical scroll bar for a (y-)scrollable track-viewer, if it fits the viewport.
It adds a scrollAlwaysShown parameter to the enableScrollY function, which is set to true by default:
scrollAlwaysShown
enableScrollY
panel.enableScrollY = function(scrollbarAlwaysShown = true) {
This corresponds to the current default behaviour, so it doesn't affect existing track viewers.
This pull request adds the option to auto-hide the vertical scroll bar for a (y-)scrollable track-viewer, if it fits the viewport.
It adds a
scrollAlwaysShown
parameter to theenableScrollY
function, which is set to true by default:This corresponds to the current default behaviour, so it doesn't affect existing track viewers.