Improved mask antialias (NImageRounded, Screencorners)

This commit is contained in:
LemmyCook 2025-08-22 09:57:11 -04:00
parent d0fa91cca4
commit 1c3127528f
3 changed files with 2 additions and 7 deletions

View file

@ -144,6 +144,7 @@ Loader {
maskEnabled: true
maskSource: maskTexture
maskInverted: false
maskSpreadAtMax: 0.75
}
mask: Region {}

View file

@ -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"

View file

@ -41,6 +41,7 @@ Rectangle {
source: img
maskEnabled: true
maskSource: mask
maskSpreadAtMax: 0.75
visible: imagePath !== ""
}