cleaner ai message buttons

This commit is contained in:
end-4
2025-05-07 09:06:35 +02:00
parent cae673bd72
commit f3e0f14c44
2 changed files with 7 additions and 11 deletions
@@ -106,8 +106,6 @@ Rectangle {
}
}
Item { Layout.fillWidth: true }
Button { // Not visible to model
id: modelVisibilityIndicator
visible: messageData.role == 'interface'
@@ -129,12 +127,7 @@ Rectangle {
}
}
StyledText {
visible: modelVisibilityIndicator.visible
font.pixelSize: Appearance.font.pixelSize.larger
color: Appearance.colors.colOnLayer1
text: "•"
}
Item { Layout.fillWidth: true }
RowLayout {
spacing: 5
@@ -18,10 +18,13 @@ Button {
background: Rectangle {
radius: Appearance.rounding.small
color: button.activated ? Appearance.m3colors.m3primary :
button.down ? Appearance.colors.colSurfaceContainerHighestActive :
color: button.activated ?
(button.down ? Appearance.colors.colPrimaryActive :
button.hovered ? Appearance.colors.colPrimaryHover :
Appearance.m3colors.m3primary) :
(button.down ? Appearance.colors.colSurfaceContainerHighestActive :
button.hovered ? Appearance.colors.colSurfaceContainerHighestHover :
Appearance.m3colors.m3surfaceContainerHighest
Appearance.transparentize(Appearance.m3colors.m3surfaceContainerHighest, 1))
}
contentItem: MaterialSymbol {