Merge remote-tracking branch 'origin/main' into addon-i18n

This commit is contained in:
月月
2025-07-13 13:22:49 +08:00
11 changed files with 216 additions and 85 deletions
+3 -5
View File
@@ -37,11 +37,11 @@ Scope {
return screens;
return screens.filter(screen => list.includes(screen.name));
}
LazyLoader {
Loader {
id: barLoader
activeAsync: GlobalStates.barOpen
active: GlobalStates.barOpen
required property ShellScreen modelData
component: PanelWindow { // Bar window
sourceComponent: PanelWindow { // Bar window
id: barRoot
screen: barLoader.modelData
@@ -533,7 +533,6 @@ Scope {
size: Appearance.rounding.screenRounding
color: showBarBackground ? Appearance.colors.colLayer0 : "transparent"
opacity: 1.0 - Appearance.transparency
corner: RoundCorner.CornerEnum.TopLeft
states: State {
@@ -553,7 +552,6 @@ Scope {
}
size: Appearance.rounding.screenRounding
color: showBarBackground ? Appearance.colors.colLayer0 : "transparent"
opacity: 1.0 - Appearance.transparency
corner: RoundCorner.CornerEnum.TopRight
states: State {
@@ -68,6 +68,7 @@ Item {
}
StyledText {
visible: Config.options.bar.verbose
width: rowLayout.width - (CircularProgress.size + rowLayout.spacing * 2)
Layout.alignment: Qt.AlignVCenter
Layout.fillWidth: true // Ensures the text takes up available space
@@ -46,9 +46,11 @@ MouseArea {
implicitWidth: weatherPopup.implicitWidth
implicitHeight: weatherPopup.implicitHeight
anchor.item: root
anchor.edges: Edges.Bottom
anchor.edges: Edges.Top
anchor.rect.x: (root.implicitWidth - popupWindow.implicitWidth) / 2
anchor.rect.y: root.implicitHeight + 10
anchor.rect.y: Config.options.bar.bottom ?
(-weatherPopup.implicitHeight - 15) :
(root.implicitHeight + 15 )
color: "transparent"
WeatherPopup {
id: weatherPopup