From f77ba920ead8b8e82753c1f66ad417cc734631a3 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 20 Apr 2026 01:00:13 +1000 Subject: [PATCH] feat: add deform scale config option --- modules/drawers/ContentWindow.qml | 2 +- plugin/src/Caelestia/Config/appearanceconfig.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/drawers/ContentWindow.qml b/modules/drawers/ContentWindow.qml index aeb96889..dab1d606 100644 --- a/modules/drawers/ContentWindow.qml +++ b/modules/drawers/ContentWindow.qml @@ -303,6 +303,6 @@ StyledWindow { implicitWidth: panel.width implicitHeight: panel.height radius: Tokens.rounding.large - deformScale: deformAmount / 10000 + deformScale: (deformAmount * Config.appearance.deformScale) / 10000 } } diff --git a/plugin/src/Caelestia/Config/appearanceconfig.hpp b/plugin/src/Caelestia/Config/appearanceconfig.hpp index 090ed7a6..3446ea72 100644 --- a/plugin/src/Caelestia/Config/appearanceconfig.hpp +++ b/plugin/src/Caelestia/Config/appearanceconfig.hpp @@ -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)