From baabcfe335a7f083e31c0a2e3e3fd9d053e7dba1 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Mon, 11 Jul 2022 22:11:33 -0400 Subject: [PATCH] lockscreen: Only show widescreen mode for short height devices --- look-and-feel/contents/lockscreen/LockScreen.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/look-and-feel/contents/lockscreen/LockScreen.qml b/look-and-feel/contents/lockscreen/LockScreen.qml index 03f399b5..8fa8b1cb 100644 --- a/look-and-feel/contents/lockscreen/LockScreen.qml +++ b/look-and-feel/contents/lockscreen/LockScreen.qml @@ -26,7 +26,8 @@ PlasmaCore.ColorScope { property var lockScreenState: LockScreenState {} property var notifModel: Notifications.WatchedNotificationsModel {} - property bool isWidescreen: root.height < root.width * 0.75 + // only show widescreen mode for short height devices (ex. phone landscape) + property bool isWidescreen: root.height < 720 && (root.height < root.width * 0.75) property bool notificationsShown: false readonly property bool drawerOpen: flickable.openFactor >= 1