Skip to content

Conversation

klutvott123
Copy link
Member

I gave the main menu it's own scroll variable. This makes scrolling on the main menu and pages completely independent. Fixes some strange behaviour I have been seeing. When selecting a page, scrolling down and going back to the main menu everything would be offset a little bit.
Renamed scrollPixelsY for consistency.

Also synced menuLine with currentPage so that when going back to the main menu from a page, that page will be selected in the menu.

Added separate scroll variable for main menu to make. Renamed scrollPixelsY for consistency.
@mikeller mikeller added this to the 1.5 milestone Oct 31, 2019
@mikeller mikeller merged commit b1e1c21 into betaflight:master Nov 2, 2019
@klutvott123 klutvott123 deleted the main-menu-improvements branch November 15, 2019 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants