mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Use different border colors if we're current or being edited.
This commit is contained in:
parent
f4f27fc38f
commit
bb3e08e3dd
@ -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