SidePanel: fix #218 sidepanel should open next to the button (as other panels)

This commit is contained in:
LemmyCook 2025-09-04 20:38:24 -04:00
parent e5aee79d47
commit 5910c65bcf
2 changed files with 1 additions and 2 deletions

View file

@ -21,7 +21,7 @@ NIconButton {
colorBorderHover: Color.transparent
anchors.verticalCenter: parent.verticalCenter
onClicked: PanelService.getPanel("sidePanel")?.toggle(screen)
onClicked: PanelService.getPanel("sidePanel")?.toggle(screen, this)
onRightClicked: PanelService.getPanel("settingsPanel")?.toggle(screen)
// When enabled, draw the distro logo instead of the icon glyph

View file

@ -12,7 +12,6 @@ NPanel {
panelWidth: 460 * scaling
panelHeight: 708 * scaling
panelAnchorRight: true
panelContent: Item {
id: content