From 3f59e2078a5fdefaa1e37159a069c84aba7abe11 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sun, 12 Oct 2025 13:13:43 +0200 Subject: [PATCH] ai: fade in: prevent random monospaced text --- .../ii/modules/sidebarLeft/aiChat/MessageTextBlock.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/quickshell/ii/modules/sidebarLeft/aiChat/MessageTextBlock.qml b/.config/quickshell/ii/modules/sidebarLeft/aiChat/MessageTextBlock.qml index 9f5d20d4e..35ef2da5e 100644 --- a/.config/quickshell/ii/modules/sidebarLeft/aiChat/MessageTextBlock.qml +++ b/.config/quickshell/ii/modules/sidebarLeft/aiChat/MessageTextBlock.qml @@ -113,7 +113,7 @@ ColumnLayout { property list textLineOpacities: [] model: ScriptModel { // Split by either double newlines or single newlines in a list - values: root.fadeChunkSplitting ? root.shownText.split(/\n\n|\n(?= {0,2}[-\*])/g).filter(line => line.trim() !== "") : [root.shownText] + values: root.fadeChunkSplitting ? root.shownText.split(/\n\n(?= {0,2})|\n(?= {0,2}[-\*])/g).filter(line => line.trim() !== "") : [root.shownText] onValuesChanged: { while (textLinesRepeater.textLineOpacities.length < values.length) { textLinesRepeater.textLineOpacities.push(root.messageData.done ? 1 : 0);