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
|
||||
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 !== ""
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue