Merge pull request #820 from Riksu9000/fix-anim-dir
Fix animation when long pressing on screens adjacent to watch face
This commit is contained in:
commit
dc25e7a887
|
@ -262,7 +262,13 @@ void DisplayApp::Refresh() {
|
||||||
break;
|
break;
|
||||||
case Messages::ButtonLongPressed:
|
case Messages::ButtonLongPressed:
|
||||||
if (currentApp != Apps::Clock) {
|
if (currentApp != Apps::Clock) {
|
||||||
LoadApp(Apps::Clock, DisplayApp::FullRefreshDirections::Down);
|
if (currentApp == Apps::Notifications) {
|
||||||
|
LoadApp(Apps::Clock, DisplayApp::FullRefreshDirections::Up);
|
||||||
|
} else if (currentApp == Apps::QuickSettings) {
|
||||||
|
LoadApp(Apps::Clock, DisplayApp::FullRefreshDirections::LeftAnim);
|
||||||
|
} else {
|
||||||
|
LoadApp(Apps::Clock, DisplayApp::FullRefreshDirections::Down);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Messages::ButtonLongerPressed:
|
case Messages::ButtonLongerPressed:
|
||||||
|
|
Loading…
Reference in a new issue