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

add missing invalidate call #35

Merged
merged 2 commits into from Jun 17, 2018
Merged

add missing invalidate call #35

merged 2 commits into from Jun 17, 2018

Conversation

markusressel
Copy link
Collaborator

this fixes #34

@natario1
Copy link
Owner

What happens if you call just awakenScrollBars() but before all the rest, right after matrix.set()?
I'd like to avoid this extra invalidate call for who is not using scrollbars at all.

@markusressel
Copy link
Collaborator Author

Tried it didn't work. We can test though if vertical and/or horizontal scrollbar is enabled if you want.

@markusressel
Copy link
Collaborator Author

The problem is awakenScrollbars does nothing if fadeScrollbars is set to false. I don't know why the child views are rendered and the scrollbars are not, but the additional invalidate fixes it. If you know a better solution let me know.

@natario1
Copy link
Owner

Yeah this is confusing, but let's do it this way then 👍thanks for spotting this!

@natario1 natario1 merged commit 8150d49 into natario1:master Jun 17, 2018
markusressel added a commit that referenced this pull request Dec 26, 2018
* add missing invalidate call

* added check if scrollbar is enabled (at least in one direction)
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.

Scrollbars not rendered when fadeScrollbars="false"
2 participants