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

A few UI fixes #7322

Merged
merged 3 commits into from Feb 20, 2021
Merged

A few UI fixes #7322

merged 3 commits into from Feb 20, 2021

Conversation

NiLuJe
Copy link
Member

@NiLuJe NiLuJe commented Feb 20, 2021

Fix #7316, #7317, #7318


This change is Reviewable

Otherwise, the dim state isn't updated properly, because Button trusts the state flag.

Regression since koreader@6132e8c

Fix koreader#7317
ScrollTextWidget

Despite a similar API between ScrollTextWidget and ScrollHtmlWiget, what
they do internally doesn't quite match.

So, while ScrollHtmlWidget's resetSCroll *does* rewind back to the top,
ScrollTextWidget's doesn't, it just updates the scrollbar itself.
So, do that on our end, *before* the (re-)init, which'll call
_renderText for us.

Fix koreader#7318
blanks if necessary in order to get a consistent alignment.

Fix koreader#7316
@NiLuJe
Copy link
Member Author

NiLuJe commented Feb 20, 2021

(Rebase me).

@Frenzie Frenzie added this to the 2021.03 milestone Feb 20, 2021
@Frenzie Frenzie merged commit 572900b into koreader:master Feb 20, 2021
@hius07
Copy link
Member

hius07 commented Feb 20, 2021

Thank you so much!

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.

History classic mode - date/time alignment
3 participants