mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
ControlCenter: fix/improve opening position
This commit is contained in:
@@ -192,7 +192,7 @@ Item {
|
||||
var controlCenterPanel = PanelService.getPanel("controlCenterPanel", screen)
|
||||
if (Settings.data.controlCenter.position === "close_to_bar_button") {
|
||||
// Will attempt to open the panel next to the bar button if any.
|
||||
controlCenterPanel.toggle(null, "ControlCenter")
|
||||
controlCenterPanel?.toggle(null, "ControlCenter")
|
||||
} else {
|
||||
controlCenterPanel?.toggle()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user