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);