Skip to content
This repository was archived by the owner on Jun 14, 2026. It is now read-only.

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

Merged
pliablepixels merged 1 commit into
ZoneMinder:masterfrom
lucasnz:resize_rotate
Oct 10, 2020
Merged

After rotate, scroll the view back to the event we were looking at#990
pliablepixels merged 1 commit into
ZoneMinder:masterfrom
lucasnz:resize_rotate

Conversation

@lucasnz

@lucasnz lucasnz commented Oct 4, 2020

Copy link
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants