Do a full refresh on page switch
This commit is contained in:
parent
f718c01d80
commit
36510ace7a
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ void WatchFace::HandleButtonPress(uint64_t buttonMask)
|
|||
}
|
||||
} else if (buttonMask & UP_BTN_MASK) {
|
||||
m_watchFacePage = (m_watchFacePage + 1) % m_pages.size();
|
||||
ShowWatchFace(true);
|
||||
ShowWatchFace(false);
|
||||
|
||||
while (true) {
|
||||
// Wait for button release
|
||||
|
@ -87,7 +87,7 @@ void WatchFace::HandleButtonPress(uint64_t buttonMask)
|
|||
}
|
||||
} else if (buttonMask & DOWN_BTN_MASK) {
|
||||
m_watchFacePage = (m_watchFacePage + m_pages.size() - 1) % m_pages.size();
|
||||
ShowWatchFace(true);
|
||||
ShowWatchFace(false);
|
||||
|
||||
while (true) {
|
||||
// Wait for button release
|
||||
|
|
Loading…
Reference in a new issue