diff options
-rw-r--r-- | imports/system/models/VehicleModel.qml | 8 | ||||
-rw-r--r-- | sysui/Cloud/Settings/SettingsScreen.qml | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/imports/system/models/VehicleModel.qml b/imports/system/models/VehicleModel.qml index 4e46252..9010d2d 100644 --- a/imports/system/models/VehicleModel.qml +++ b/imports/system/models/VehicleModel.qml @@ -37,7 +37,7 @@ import QtApplicationManager 1.0 QtObject { id: root - property bool dialAnimation: navigationControl.navigationRunning + property bool dialAnimation: true property real speed: navigationControl.navigationRunning ? navigationControl.navigationSpeed : 0 @@ -91,10 +91,8 @@ QtObject { interval: 4000 property bool higherValue: false onTriggered: { - if (navigationControl.navigationRunning) - root.speed = higherValue ? (navigationControl.navigationSpeed - 5) : (navigationControl.navigationSpeed +5) - else - root.speed = higherValue ? (0) : (120) + root.speed = higherValue ? (navigationControl.navigationSpeed) : (navigationControl.navigationSpeed +5) + higherValue = !higherValue } } diff --git a/sysui/Cloud/Settings/SettingsScreen.qml b/sysui/Cloud/Settings/SettingsScreen.qml index d2b4936..d96fe62 100644 --- a/sysui/Cloud/Settings/SettingsScreen.qml +++ b/sysui/Cloud/Settings/SettingsScreen.qml @@ -69,7 +69,7 @@ UIElement { } else if (titleText === "SYSTEM MONITOR") { systemMonitorLoader.active = true - ApplicationManagerInterface.applicationSurfaceReady(systemMonitorLoader.item) + ApplicationManagerInterface.applicationSurfaceReady(systemMonitorLoader.item, false) } } } |