mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-04 10:04:35 +00:00
Animate the removal of chat items when editing prompts. (#3227)
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
@@ -793,7 +793,7 @@ Rectangle {
|
||||
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
visible: ModelList.selectableModels.count !== 0 && chatModel.count !== 0
|
||||
visible: ModelList.selectableModels.count !== 0
|
||||
ListView {
|
||||
id: listView
|
||||
Layout.maximumWidth: 1280
|
||||
@@ -825,6 +825,10 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
remove: Transition {
|
||||
OpacityAnimator { to: 0; duration: 500 }
|
||||
}
|
||||
|
||||
function scrollToEnd() {
|
||||
listView.positionViewAtEnd()
|
||||
}
|
||||
|
Reference in New Issue
Block a user