on xenial help sign in
shorten lines a bit
commitacf896ecf90cd72f8cecce7500fa46514988766d authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 13 Jun 2013, 20:13 (13 years ago) parent36d8ae7
2 files changed+8−4
Greeter/Greeter.qml+4−2 Greeter/GreeterContent.qml+4−2
Greeter/Greeter.qml+4−2
@@ -30,8 +30,10 @@ Showable {
3030 readonly property bool narrowMode: !multiUser && width <= units.gu(60)
3131 readonly property bool multiUser: LightDM.Users.count > 1
3232
33− readonly property bool leftTeaserPressed: greeterContentLoader.status == Loader.Ready && greeterContentLoader.item.leftTeaserPressed
34− readonly property bool rightTeaserPressed: greeterContentLoader.status == Loader.Ready && greeterContentLoader.item.rightTeaserPressed
33+ readonly property bool leftTeaserPressed: greeterContentLoader.status == Loader.Ready &&
34+ greeterContentLoader.item.leftTeaserPressed
35+ readonly property bool rightTeaserPressed: greeterContentLoader.status == Loader.Ready &&
36+ greeterContentLoader.item.rightTeaserPressed
3537
3638 signal selected(int uid)
3739 signal unlocked(int uid)
Greeter/GreeterContent.qml+4−2
@@ -25,8 +25,10 @@ MouseArea {
2525
2626 property bool promptless: loginLoader.status == Loader.Ready && LightDM.Greeter.promptless
2727 property bool ready: wallpaper.status == Image.Ready
28− property bool leftTeaserPressed: teasingMouseArea.pressed && teasingMouseArea.mouseX < teasingMouseArea.width / 2
29− property bool rightTeaserPressed: teasingMouseArea.pressed && teasingMouseArea.mouseX > teasingMouseArea.width / 2
28+ property bool leftTeaserPressed: teasingMouseArea.pressed &&
29+ teasingMouseArea.mouseX < teasingMouseArea.width / 2
30+ property bool rightTeaserPressed: teasingMouseArea.pressed &&
31+ teasingMouseArea.mouseX > teasingMouseArea.width / 2
3032
3133 signal selected(int uid)
3234 signal unlocked(int uid)