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

After rotate, scroll the view back to the event we were looking at #990

Merged
merged 1 commit into from
Oct 10, 2020

Conversation

lucasnz
Copy link
Contributor

@lucasnz lucasnz commented Oct 4, 2020

This PR simply scrolls the use back to the same position in the event list before they rotated their phone. The scrollTo function is based on the dynamic rowheight, but would easily be modified if rowheight logic was changed.

I've largely abandoned the other scroll PR, as this use case (rotating the phone), is really the only one that matters. But I submitted the other one more for reference - happy for you to close/reject the other PR if there's nothing of current use in it.

@pliablepixels pliablepixels merged commit 96c3b2b into ZoneMinder:master Oct 10, 2020
@lucasnz lucasnz deleted the resize_rotate branch November 14, 2020 00:48
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.

2 participants