on xenial help sign in
occlude on screen power
commitbd1ec5a810479421941198c31df1aa717318b7c9 authorNick Dedekind <nick.dedekind@canonical.com> dateTue 6 Oct 2015, 14:15 (11 years ago) parent60c5222
1 file changed+3−2
qml/Stages/PhoneStage.qml+3−2
qml/Stages/PhoneStage.qml+3−2
@@ -20,6 +20,7 @@ import Ubuntu.Gestures 0.1
2020import Unity.Application 0.1
2121import Unity.Session 0.1
2222import Utils 0.1
23+import Powerd 0.1
2324import "../Components"
2425
2526Rectangle {
@@ -538,8 +539,8 @@ Rectangle {
538539 return true;
539540 }
540541
541− visible: !occluded
542− || (isDash && priv.focusedAppDelegateIsDislocated)
542+ visible: Powerd.status == Powerd.On &&
543+ (!occluded || (isDash && priv.focusedAppDelegateIsDislocated))
543544
544545
545546 shellOrientationAngle: root.shellOrientationAngle