mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
fix: fix various misc minor issues
This commit is contained in:
+10
-1
@@ -99,11 +99,15 @@ Scope {
|
||||
|
||||
Brightness {
|
||||
id: widgetsBrightness
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.verticalCenterOffset: 1
|
||||
}
|
||||
|
||||
Volume {
|
||||
id: widgetsVolume
|
||||
shell: rootScope.shell
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.verticalCenterOffset: 1
|
||||
}
|
||||
|
||||
SystemTray {
|
||||
@@ -117,7 +121,10 @@ Scope {
|
||||
id: externalTrayMenu
|
||||
}
|
||||
|
||||
ClockWidget {}
|
||||
ClockWidget {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.verticalCenterOffset: 1
|
||||
}
|
||||
|
||||
PanelPopup {
|
||||
id: sidebarPopup
|
||||
@@ -125,6 +132,8 @@ Scope {
|
||||
|
||||
Button {
|
||||
barBackground: barBackground
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.verticalCenterOffset: 1
|
||||
screen: modelData
|
||||
sidebarPopup: sidebarPopup
|
||||
}
|
||||
|
||||
@@ -26,6 +26,9 @@ Item {
|
||||
if (ToplevelManager.activeToplevel?.appId) {
|
||||
activeWindowWrapper.shouldShow = true
|
||||
visibilityTimer.restart()
|
||||
} else {
|
||||
activeWindowWrapper.shouldShow = false
|
||||
visibilityTimer.stop()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,10 +89,12 @@ PopupWindow {
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: bg
|
||||
anchors.fill: parent
|
||||
color: mouseArea.containsMouse ? Theme.highlight : "transparent"
|
||||
radius: 6
|
||||
visible: !(modelData?.isSeparator ?? false)
|
||||
property color hoverTextColor: mouseArea.containsMouse ? Theme.onAccent : Theme.textPrimary
|
||||
|
||||
RowLayout {
|
||||
anchors.fill: parent
|
||||
@@ -102,7 +104,7 @@ PopupWindow {
|
||||
|
||||
Text {
|
||||
Layout.fillWidth: true
|
||||
color: (modelData?.enabled ?? true) ? Theme.textPrimary : Theme.textDisabled
|
||||
color: (modelData?.enabled ?? true) ? bg.hoverTextColor : Theme.textDisabled
|
||||
text: modelData?.text ?? ""
|
||||
font.family: Theme.fontFamily
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
|
||||
Reference in New Issue
Block a user