remove scroll-to-bottom button

This commit is contained in:
Levi Neely 2026-08-07 17:17:14 +02:00
parent b77667fbfb
commit bdad2b740f
1 changed files with 21 additions and 55 deletions

View File

@ -1224,9 +1224,6 @@ ApplicationWindow {
Item {
Layout.fillWidth: true
Layout.fillHeight: true
ScrollView {
anchors.fill: parent
clip: true
// Placeholder when no agent selected or disconnected
@ -1590,38 +1587,7 @@ property bool blockExpanded: {
}
}
}
}
// Scroll-to-bottom floating button
Rectangle {
id: scrollToBottomBtn
width: 40
height: 40
radius: 20
color: theme.highlightColor
opacity: 0.9
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.margins: 16
visible: !chatView.shouldAutoScroll && chatView.count > 0 && chatView.visible
Label {
anchors.centerIn: parent
text: "↓"
font.pixelSize: 20
font.bold: true
color: theme.highlightedTextColor
}
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: {
chatView.shouldAutoScroll = true
chatView.positionViewAtEnd()
}
}
}
}
Rectangle { Layout.fillWidth: true; height: 1; color: theme.midColor }