Use different border colors if we're current or being edited.

This commit is contained in:
Adam Treat 2023-05-02 11:34:39 -04:00
parent f4f27fc38f
commit bb3e08e3dd

View File

@ -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