update sidebar

This commit is contained in:
end-4
2025-06-02 23:23:58 +02:00
parent 0fba075f52
commit c26685b1de
4 changed files with 15 additions and 34 deletions
@@ -171,21 +171,6 @@ int main(int argc, char* argv[]) {
}
}
add: Transition {
animations: [Appearance.animation.elementMoveEnter.numberAnimation.createObject(this, {
property: "opacity",
from: 0,
to: 1
})]
}
remove: Transition {
animations: [Appearance.animation.elementMoveEnter.numberAnimation.createObject(this, {
property: "opacity",
from: 1,
to: 0
})]
}
model: ScriptModel {
values: Ai.messageIDs.filter(id => {
const message = Ai.messageByID[id];
@@ -354,17 +339,13 @@ int main(int argc, char* argv[]) {
anchors.topMargin: 5
spacing: 0
TextArea { // The actual TextArea
StyledTextArea { // The actual TextArea
id: messageInputField
wrapMode: TextArea.Wrap
Layout.fillWidth: true
padding: 10
color: activeFocus ? Appearance.m3colors.m3onSurface : Appearance.m3colors.m3onSurfaceVariant
renderType: Text.NativeRendering
selectedTextColor: Appearance.m3colors.m3onSecondaryContainer
selectionColor: Appearance.m3colors.m3secondaryContainer
placeholderText: StringUtils.format(qsTr('Message the model... "{0}" for commands'), root.commandPrefix)
placeholderTextColor: Appearance.m3colors.m3outline
background: null