aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/assistant/Card.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-24 12:09:29 +0200
committerDanilo M. <danix@danix.xyz>2026-10-24 12:09:29 +0200
commit78dcf288d9ae3a80002fe40d23c9ed85021f7e7a (patch)
treecb987f88dd5ac0554499840965fdc6e4b4ee6eb7 /desktop/assistant/Card.qml
parentadb81f6d21b8152114b62acbfc6fa78c9ecec29f (diff)
downloadquickshell-78dcf288d9ae3a80002fe40d23c9ed85021f7e7a.tar.gz
quickshell-78dcf288d9ae3a80002fe40d23c9ed85021f7e7a.zip
assistant: the canvas owns tall and the card's top
The companion needs both to sit on the chat card, and should not reach into the card for them. Card.tall now reads the canvas's, so there is one definition of when the card is tall. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/assistant/Card.qml')
-rw-r--r--desktop/assistant/Card.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/assistant/Card.qml b/desktop/assistant/Card.qml
index 810920f..2f85e50 100644
--- a/desktop/assistant/Card.qml
+++ b/desktop/assistant/Card.qml
@@ -29,7 +29,7 @@ Rectangle {
readonly property string mode: card.canvas.mode
readonly property bool panel: card.canvas.historyOpen || card.canvas.pickerOpen || card.canvas.modelsOpen
- readonly property bool tall: card.mode === "chat" || card.panel
+ readonly property bool tall: card.canvas.tall
// Bottom-up: the input, then the actions (file state), then the chips.
height: card.tall ? card.fullHeight