mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-23 22:18:38 +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:
parent
6b18abb124
commit
2b1668eff2
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user