mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Improved mask antialias (NImageRounded, Screencorners)
This commit is contained in:
@@ -144,6 +144,7 @@ Loader {
|
||||
maskEnabled: true
|
||||
maskSource: maskTexture
|
||||
maskInverted: false
|
||||
maskSpreadAtMax: 0.75
|
||||
}
|
||||
|
||||
mask: Region {}
|
||||
|
||||
@@ -107,13 +107,6 @@ ColumnLayout {
|
||||
spacing: Style.marginL * scaling
|
||||
Layout.fillWidth: true
|
||||
|
||||
// NText {
|
||||
// text: "Colors Settings"
|
||||
// font.pointSize: Style.fontSizeXXL * scaling
|
||||
// font.weight: Style.fontWeightBold
|
||||
// color: Color.mOnSurface
|
||||
// }
|
||||
|
||||
// Dark Mode Toggle (affects both Matugen and predefined schemes that provide variants)
|
||||
NToggle {
|
||||
label: "Dark Mode"
|
||||
|
||||
@@ -41,6 +41,7 @@ Rectangle {
|
||||
source: img
|
||||
maskEnabled: true
|
||||
maskSource: mask
|
||||
maskSpreadAtMax: 0.75
|
||||
visible: imagePath !== ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user