mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
OSD: unified Volume & Brightness OSD into one file (OSD.qml), move OSD settings to NotificationTab
This commit is contained in:
@@ -61,15 +61,17 @@ ShellRoot {
|
||||
ToastOverlay {}
|
||||
|
||||
// OSD overlays for volume and brightness
|
||||
VolumeOSD {
|
||||
OSD {
|
||||
id: volumeOSD
|
||||
objectName: "volumeOSD"
|
||||
osdType: OSD.Type.Volume
|
||||
onOsdShowing: brightnessOSD.hideOSD()
|
||||
}
|
||||
|
||||
BrightnessOSD {
|
||||
OSD {
|
||||
id: brightnessOSD
|
||||
objectName: "brightnessOSD"
|
||||
osdType: OSD.Type.Brightness
|
||||
onOsdShowing: volumeOSD.hideOSD()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user