Improved mask antialias (NImageRounded, Screencorners)
This commit is contained in:
parent
d0fa91cca4
commit
1c3127528f
3 changed files with 2 additions and 7 deletions
|
|
@ -144,6 +144,7 @@ Loader {
|
||||||
maskEnabled: true
|
maskEnabled: true
|
||||||
maskSource: maskTexture
|
maskSource: maskTexture
|
||||||
maskInverted: false
|
maskInverted: false
|
||||||
|
maskSpreadAtMax: 0.75
|
||||||
}
|
}
|
||||||
|
|
||||||
mask: Region {}
|
mask: Region {}
|
||||||
|
|
|
||||||
|
|
@ -107,13 +107,6 @@ ColumnLayout {
|
||||||
spacing: Style.marginL * scaling
|
spacing: Style.marginL * scaling
|
||||||
Layout.fillWidth: true
|
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)
|
// Dark Mode Toggle (affects both Matugen and predefined schemes that provide variants)
|
||||||
NToggle {
|
NToggle {
|
||||||
label: "Dark Mode"
|
label: "Dark Mode"
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ Rectangle {
|
||||||
source: img
|
source: img
|
||||||
maskEnabled: true
|
maskEnabled: true
|
||||||
maskSource: mask
|
maskSource: mask
|
||||||
|
maskSpreadAtMax: 0.75
|
||||||
visible: imagePath !== ""
|
visible: imagePath !== ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue