From f0570b0e206e09e8a6040b417c452b125e4035de Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 9 Sep 2025 20:34:49 +0200 Subject: [PATCH] fix kb layout anim in lock screen (#1942) --- .config/quickshell/ii/modules/lock/LockSurface.qml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.config/quickshell/ii/modules/lock/LockSurface.qml b/.config/quickshell/ii/modules/lock/LockSurface.qml index db9e0d3d1..90dc1a83a 100644 --- a/.config/quickshell/ii/modules/lock/LockSurface.qml +++ b/.config/quickshell/ii/modules/lock/LockSurface.qml @@ -194,10 +194,12 @@ MouseArea { iconSize: Appearance.font.pixelSize.huge color: Appearance.colors.colOnSurfaceVariant } - StyledText { - text: HyprlandXkb.currentLayoutCode - color: Appearance.colors.colOnSurfaceVariant - animateChange: true + Loader { + sourceComponent: StyledText { + text: HyprlandXkb.currentLayoutCode + color: Appearance.colors.colOnSurfaceVariant + animateChange: true + } } } }