feat: add border smoothing option
This commit is contained in:
parent
b1401c1c8c
commit
50c4eaf75b
3 changed files with 3 additions and 0 deletions
|
|
@ -483,6 +483,7 @@ For example, to disable the bar on DP-1:
|
|||
},
|
||||
"border": {
|
||||
"rounding": 25,
|
||||
"smoothing": 32,
|
||||
"thickness": 10
|
||||
},
|
||||
"dashboard": {
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@ StyledWindow {
|
|||
id: blobGroup
|
||||
|
||||
color: Colours.palette.m3surface
|
||||
smoothing: root.contentItem.Config.border.smoothing
|
||||
|
||||
Behavior on color {
|
||||
CAnim {}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue