fix: restore lost changes
C++ / fmt (pull_request) Failing after 3s
C++ / build (pull_request) Failing after 9s
C++ / clang-tidy (pull_request) Failing after 9s
JS/TS / fmt (pull_request) Successful in 7s
JS/TS / lint (pull_request) Successful in 8s
Python / static (pull_request) Successful in 25s
Rust / build (pull_request) Successful in 50s
Rust / fmt (pull_request) Successful in 30s
Python / verify (pull_request) Successful in 1m44s
Rust / clippy (pull_request) Successful in 45s

This commit is contained in:
2026-09-30 19:30:06 +02:00
parent 54f966b4ea
commit e8bf8b9727
29 changed files with 201 additions and 268 deletions
+5 -5
View File
@@ -15,7 +15,7 @@ Item {
Connections {
function onIsWindowChanged(): void {
if (ChatState.isWindow)
root.screenState.dashboardTab = 0;
root.screenState.sidebarTab = 0;
}
target: ChatState
@@ -46,9 +46,9 @@ Item {
anchors.bottom: parent.bottom
anchors.top: parent.top
implicitWidth: parent.width
opacity: root.screenState.dashboardTab === 0 ? 1 : 0
opacity: root.screenState.sidebarTab === 0 ? 1 : 0
visible: opacity > 0
x: root.screenState.dashboardTab === 0 ? 0 : -root.width
x: root.screenState.sidebarTab === 0 ? 0 : -root.width
Behavior on opacity {
Anim {}
@@ -80,9 +80,9 @@ Item {
sourceComponent: Item {
id: chatPage
opacity: root.screenState.dashboardTab === 1 ? 1 : 0
opacity: root.screenState.sidebarTab === 1 ? 1 : 0
visible: opacity > 0
x: root.screenState.dashboardTab === 0 ? root.width : 0
x: root.screenState.sidebarTab === 0 ? root.width : 0
z: 1
Behavior on opacity {