diff options
Diffstat (limited to 'basicsuite/ebike-ui/MainPage.qml')
-rw-r--r-- | basicsuite/ebike-ui/MainPage.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/basicsuite/ebike-ui/MainPage.qml b/basicsuite/ebike-ui/MainPage.qml index e459789..9ca9edb 100644 --- a/basicsuite/ebike-ui/MainPage.qml +++ b/basicsuite/ebike-ui/MainPage.qml @@ -42,8 +42,9 @@ import "./BikeStyle" Page { background: Rectangle { - color: Colors.mainBackground + color: "transparent" } + property alias statsButton: statsButton property alias naviButton: naviButton property alias lightsButton: lightsButton @@ -61,7 +62,7 @@ Page { MouseArea { anchors.fill: parent onClicked: { - swipeView.currentIndex = 0 + swipeView.decrementCurrentIndex() } } } @@ -77,7 +78,7 @@ Page { MouseArea { anchors.fill: parent onClicked: { - swipeView.currentIndex = 2 + swipeView.incrementCurrentIndex() } } } |