Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-hide vertical scroll bar if track-viewer fits viewport (#107) #108

Merged
merged 1 commit into from
May 25, 2021

Conversation

basvandenberg
Copy link
Contributor

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:

panel.enableScrollY = function(scrollbarAlwaysShown = true) { 

This corresponds to the current default behaviour, so it doesn't affect existing track viewers.

Copy link
Contributor

@MichaelVyverman MichaelVyverman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@basvandenberg basvandenberg merged commit f8422c8 into master May 25, 2021
@basvandenberg basvandenberg deleted the feature/107/auto-vertical-scroll-bar branch May 25, 2021 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants