mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-05 11:40:00 +00:00
SidePanel: fix vertical position in 1080p
This commit is contained in:
@@ -6,7 +6,7 @@ import qs.Settings
|
||||
PanelWindow {
|
||||
id: outerPanel
|
||||
property bool showOverlay: Settings.settings.dimPanels
|
||||
property int topMargin: 36
|
||||
property int topMargin: 36 * Theme.scale(screen)
|
||||
property color overlayColor: showOverlay ? Theme.overlay : "transparent"
|
||||
|
||||
function dismiss() {
|
||||
|
||||
@@ -174,8 +174,8 @@ PanelWithOverlay {
|
||||
width: sidebarPopupRect.width - sidebarPopupRect.leftPadding
|
||||
height: sidebarPopupRect.height - sidebarPopupRect.bottomPadding
|
||||
x: sidebarPopupRect.leftPadding + sidebarPopupRect.slideOffset
|
||||
y: 0
|
||||
color: Theme.backgroundPrimary
|
||||
// anchors.fill: parent
|
||||
bottomLeftRadius: 20
|
||||
|
||||
Behavior on x {
|
||||
|
||||
Reference in New Issue
Block a user