From 2d487697713f1042cbae4afa3484e8b0cf67c4f2 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 31 Jan 2021 17:58:23 +0200 Subject: [PATCH] improve default values for abilities --- declarativeimports/abilities/definition/Metrics.qml | 4 ++-- declarativeimports/abilities/definition/ParabolicEffect.qml | 2 +- declarativeimports/abilities/definition/metrics/Padding.qml | 4 ++-- plasmoid/package/contents/ui/main.qml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/declarativeimports/abilities/definition/Metrics.qml b/declarativeimports/abilities/definition/Metrics.qml index c91dba1a6..8ab291708 100644 --- a/declarativeimports/abilities/definition/Metrics.qml +++ b/declarativeimports/abilities/definition/Metrics.qml @@ -34,8 +34,8 @@ Item { } property MetricsTypes.Padding padding: MetricsTypes.Padding{ - length: 4 - lengthApplet: 4 + length: 0 + lengthApplet: 0 } property MetricsTypes.Totals totals: MetricsTypes.Totals{ diff --git a/declarativeimports/abilities/definition/ParabolicEffect.qml b/declarativeimports/abilities/definition/ParabolicEffect.qml index 540fbcad9..dd4c60b95 100644 --- a/declarativeimports/abilities/definition/ParabolicEffect.qml +++ b/declarativeimports/abilities/definition/ParabolicEffect.qml @@ -22,7 +22,7 @@ import QtQuick 2.0 import "./paraboliceffect" as ParabolicEffectTypes Item { - property bool isEnabled: true + property bool isEnabled: false property bool restoreZoomIsBlocked: false property ParabolicEffectTypes.Factor factor: ParabolicEffectTypes.Factor{ diff --git a/declarativeimports/abilities/definition/metrics/Padding.qml b/declarativeimports/abilities/definition/metrics/Padding.qml index f9fd9c357..d08773879 100644 --- a/declarativeimports/abilities/definition/metrics/Padding.qml +++ b/declarativeimports/abilities/definition/metrics/Padding.qml @@ -20,6 +20,6 @@ import QtQuick 2.0 Item { - property int length: 4 - property int lengthApplet: 4 + property int length: 0 + property int lengthApplet: 0 } diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml index 3b6de1e24..ed0c3db11 100644 --- a/plasmoid/package/contents/ui/main.qml +++ b/plasmoid/package/contents/ui/main.qml @@ -885,7 +885,7 @@ Item { target: icList property int maxThickness: (appletAbilities.parabolic.isHovered || windowPreviewIsShown || appletAbilities.animations.hasThicknessAnimation) ? - appletAbilities.metrics.mask.thickness.maxZoomedForItems : appletAbilities.metrics.mask.thickness.maxNormalForItems + appletAbilities.metrics.mask.thickness.zoomedForItems : appletAbilities.metrics.mask.thickness.normalForItems function onlyLaunchersInDroppedList(list){ return list.every(function (item) {