forked from Shinonome/dots-hyprland
sidebar: ai: dont scroll automatically
it used to work fine but now it's extremely annoying
This commit is contained in:
@@ -364,15 +364,15 @@ Inline w/ backslash and round brackets \\(e^{i\\pi} + 1 = 0\\)
|
||||
mouseScrollFactor: Config.options.interactions.scrolling.mouseScrollFactor * 1.4
|
||||
|
||||
property int lastResponseLength: 0
|
||||
onContentHeightChanged: {
|
||||
if (atYEnd)
|
||||
Qt.callLater(positionViewAtEnd);
|
||||
}
|
||||
onCountChanged: {
|
||||
// Auto-scroll when new messages are added
|
||||
if (atYEnd)
|
||||
Qt.callLater(positionViewAtEnd);
|
||||
}
|
||||
// onContentHeightChanged: {
|
||||
// if (atYEnd)
|
||||
// Qt.callLater(positionViewAtEnd);
|
||||
// }
|
||||
// onCountChanged: {
|
||||
// // Auto-scroll when new messages are added
|
||||
// if (atYEnd)
|
||||
// Qt.callLater(positionViewAtEnd);
|
||||
// }
|
||||
|
||||
add: null // Prevent function calls from being janky
|
||||
|
||||
|
||||
Reference in New Issue
Block a user