diff --git a/README.md b/README.md index b7ead9bc..f5849cb8 100644 --- a/README.md +++ b/README.md @@ -483,6 +483,7 @@ For example, to disable the bar on DP-1: }, "border": { "rounding": 25, + "smoothing": 32, "thickness": 10 }, "dashboard": { diff --git a/modules/drawers/ContentWindow.qml b/modules/drawers/ContentWindow.qml index 0824d209..b69408dc 100644 --- a/modules/drawers/ContentWindow.qml +++ b/modules/drawers/ContentWindow.qml @@ -131,6 +131,7 @@ StyledWindow { id: blobGroup color: Colours.palette.m3surface + smoothing: root.contentItem.Config.border.smoothing Behavior on color { CAnim {} diff --git a/plugin/src/Caelestia/Config/borderconfig.hpp b/plugin/src/Caelestia/Config/borderconfig.hpp index abdd07d9..9de604e8 100644 --- a/plugin/src/Caelestia/Config/borderconfig.hpp +++ b/plugin/src/Caelestia/Config/borderconfig.hpp @@ -12,6 +12,7 @@ class BorderConfig : public ConfigObject { CONFIG_PROPERTY(int, thickness, 10) CONFIG_PROPERTY(int, rounding, 25) + CONFIG_PROPERTY(int, smoothing, 32) Q_PROPERTY(int minThickness READ minThickness CONSTANT) Q_PROPERTY(int clampedThickness READ clampedThickness NOTIFY thicknessChanged)