aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'homescreen/qml/main.qml')
-rw-r--r--homescreen/qml/main.qml12
1 files changed, 7 insertions, 5 deletions
diff --git a/homescreen/qml/main.qml b/homescreen/qml/main.qml
index f70325f..6dace77 100644
--- a/homescreen/qml/main.qml
+++ b/homescreen/qml/main.qml
@@ -141,24 +141,26 @@ Window {
container.state = 'fullscreen'
touchArea.switchArea(1)
homescreenHandler.tapShortcut(appName, true)
+ container.opacity = 0.0
} else {
image.source = './images/normal.png'
container.state = 'normal'
touchArea.switchArea(0)
homescreenHandler.tapShortcut(appName, false)
+ container.opacity = 1.0
}
}
}
}
}
- function changeSwitchState(is_split) {
+ function changeSwitchState(is_navigation) {
if(container.state === 'normal') {
- if(is_split) {
- switchBtn.enableSwitchBtn = false
- image.source = './images/normal_disable.png'
- } else {
+ if(is_navigation) {
switchBtn.enableSwitchBtn = true
image.source = './images/normal.png'
+ } else {
+ switchBtn.enableSwitchBtn = false
+ image.source = './images/normal_disable.png'
}
}
}