mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Services in subfolder + cleanup/fixes
This commit is contained in:
@@ -4,7 +4,7 @@ import Quickshell.Widgets
|
||||
import QtQuick.Effects
|
||||
import qs.Commons
|
||||
import qs.Widgets
|
||||
import qs.Services
|
||||
import qs.Services.UI
|
||||
|
||||
NIconButton {
|
||||
id: root
|
||||
@@ -48,9 +48,9 @@ NIconButton {
|
||||
var controlCenterPanel = PanelService.getPanel("controlCenterPanel", screen)
|
||||
if (Settings.data.controlCenter.position === "close_to_bar_button") {
|
||||
// Willopen the panel next to the bar button.
|
||||
controlCenterPanel.toggle(this)
|
||||
controlCenterPanel?.toggle(this)
|
||||
} else {
|
||||
controlCenterPanel.toggle()
|
||||
controlCenterPanel?.toggle()
|
||||
}
|
||||
}
|
||||
onRightClicked: PanelService.getPanel("settingsPanel", screen)?.toggle()
|
||||
|
||||
Reference in New Issue
Block a user