mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
NPanel: restore outter border on panels without sexy borders + minor polishing.
This commit is contained in:
@@ -554,6 +554,7 @@ Loader {
|
||||
color: Color.transparent
|
||||
border.color: Color.mPrimary
|
||||
border.width: Style.borderM
|
||||
radius: Style.radiusL
|
||||
visible: panelBackground.isDragged && dragHandler.active
|
||||
opacity: 0.8
|
||||
z: 3000
|
||||
@@ -565,6 +566,7 @@ Loader {
|
||||
color: Color.transparent
|
||||
border.color: Color.mPrimary
|
||||
border.width: Style.borderS
|
||||
radius: Style.radiusL
|
||||
opacity: 0.3
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,6 +42,8 @@ Item {
|
||||
anchors.fill: parent
|
||||
color: root.backgroundColor
|
||||
radius: topLeftRadius // Use topLeftRadius as default
|
||||
border.width: Style.borderS
|
||||
border.color: Color.mOutline
|
||||
visible: !root.hasInvertedCorners
|
||||
|
||||
topLeftRadius: root.topLeftRadius
|
||||
|
||||
Reference in New Issue
Block a user