mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-21 10:39:25 +00:00
Use different border colors if we're current or being edited.
This commit is contained in:
parent
6a905d38d9
commit
60acc18625
@ -83,7 +83,7 @@ Drawer {
|
|||||||
property bool isCurrent: LLM.chatListModel.currentChat === LLM.chatListModel.get(index)
|
property bool isCurrent: LLM.chatListModel.currentChat === LLM.chatListModel.get(index)
|
||||||
color: index % 2 === 0 ? theme.backgroundLight : theme.backgroundLighter
|
color: index % 2 === 0 ? theme.backgroundLight : theme.backgroundLighter
|
||||||
border.width: isCurrent
|
border.width: isCurrent
|
||||||
border.color: theme.backgroundLightest
|
border.color: chatName.readOnly ? theme.assistantColor : theme.userColor
|
||||||
TextField {
|
TextField {
|
||||||
id: chatName
|
id: chatName
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
Loading…
Reference in New Issue
Block a user