feat: add deform scale config option
This commit is contained in:
parent
89cb3b9d7c
commit
f77ba920ea
2 changed files with 2 additions and 1 deletions
|
|
@ -303,6 +303,6 @@ StyledWindow {
|
|||
implicitWidth: panel.width
|
||||
implicitHeight: panel.height
|
||||
radius: Tokens.rounding.large
|
||||
deformScale: deformAmount / 10000
|
||||
deformScale: (deformAmount * Config.appearance.deformScale) / 10000
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -237,6 +237,7 @@ class AppearanceConfig : public ConfigObject {
|
|||
Q_OBJECT
|
||||
QML_ANONYMOUS
|
||||
|
||||
CONFIG_PROPERTY(qreal, deformScale, 1)
|
||||
CONFIG_SUBOBJECT(AppearanceRounding, rounding)
|
||||
CONFIG_SUBOBJECT(AppearanceSpacing, spacing)
|
||||
CONFIG_SUBOBJECT(AppearancePadding, padding)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue