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

Improve ScrollBar track clicking #1099

Merged
merged 1 commit into from Oct 29, 2020
Merged

Improve ScrollBar track clicking #1099

merged 1 commit into from Oct 29, 2020

Conversation

Gocnak
Copy link
Member

@Gocnak Gocnak commented Oct 28, 2020

Closes #1078

Upon clicking and holding down mouse on the scrollbar track, the bar will continue to scroll as if you were holding down the button for it
Added shift + click to instantly jump to where the user clicks

https://gfycat.com/rigiddarlingaustraliankelpie

Checklist

  • I have thoroughly tested all of the code I have modified/added/removed to ensure something else did not break
  • If there is a localization token change, I have updated the momentum_english_ref.res file with the changes, ran tokenizer.py to generate an up-to-date localization file, and have committed both the .res file changes and the new localization .txt file
  • If I introduced new h/cpp files, I have added them to the appropriate project's VPC file (server_momentum.vpc / client_momentum.vpc / etc)
  • If I have added or modified any visual assets (models, materials, panels, effects, etc), I have taken screenshots / videos of them and attached them to this PR directly (screenshots uploaded through github, videos uploaded to youtube and linked)
  • If I have modified any console command, console variable, or momentum entity, I have opened an issue (or a PR) for it in the Momentum Mod documentation repository
  • My commits are relatively small and scoped to the best of my ability
  • My branch has a clear history of changes that can be easy to follow when being reviewed commit-by-commit
  • My branch is functionally complete; the only changes to be done will be those potentially requested in code review

Upon clicking and holding down mouse on the scrollbar track, the bar will continue to scroll as if  you were holding down the button for it
Added shift + click to instantly jump to where the user clicks
@Gocnak Gocnak merged commit f74363f into develop Oct 29, 2020
@Gocnak Gocnak deleted the enhance/scrollbar-click branch October 29, 2020 03:51
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.

Clicking on the side of the console does not jump the scrollbar to where it was clicked
1 participant