From 6f47b7c4c8776255a318308232cb21e7bd8a48a0 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 4 May 2019 21:14:34 +0300 Subject: [PATCH] rename Rectangled TO Square for Indicators --- containment/package/contents/ui/applet/AppletItem.qml | 2 +- containment/package/contents/ui/applet/indicator/Bridge.qml | 6 +++--- plasmoid/package/contents/ui/task/indicator/Bridge.qml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/containment/package/contents/ui/applet/AppletItem.qml b/containment/package/contents/ui/applet/AppletItem.qml index b04811543..9e16b2b6d 100644 --- a/containment/package/contents/ui/applet/AppletItem.qml +++ b/containment/package/contents/ui/applet/AppletItem.qml @@ -116,7 +116,7 @@ Item { ||((index === layoutsContainer.endLayout.beginIndex+layoutsContainer.endLayout.count-1)&&(layoutsContainer.endLayout.count>1))) readonly property bool originalAppletBehavior: ((root.zoomFactor === 1 || !canBeHovered) && !root.titleTooltips) || lockZoom - readonly property bool isRectangled: communicator.overlayLatteIconIsActive + readonly property bool isSquare: communicator.overlayLatteIconIsActive property int animationTime: appliedDurationTime * (1.2 *units.shortDuration) property int hoveredIndex: layoutsContainer.hoveredIndex diff --git a/containment/package/contents/ui/applet/indicator/Bridge.qml b/containment/package/contents/ui/applet/indicator/Bridge.qml index c34b30c6b..8f174b1d0 100644 --- a/containment/package/contents/ui/applet/indicator/Bridge.qml +++ b/containment/package/contents/ui/applet/indicator/Bridge.qml @@ -49,7 +49,7 @@ Item{ readonly property bool inAttention: false readonly property bool inRemoving: false - readonly property bool isRectangled: appletIsValid ? appletItem.isRectangled : true + readonly property bool isSquare: appletIsValid ? appletItem.isSquare : true readonly property bool hasActive: isActive readonly property bool hasMinimized: false @@ -71,7 +71,7 @@ Item{ //!icon colors property color iconBackgroundColor: { if (appletIsValid) { - return isRectangled ? appletItem.wrapperAlias.overlayIconLoader.backgroundColor : colorizerManager.buttonFocusColor; + return isSquare ? appletItem.wrapperAlias.overlayIconLoader.backgroundColor : colorizerManager.buttonFocusColor; } return "black"; @@ -79,7 +79,7 @@ Item{ property color iconGlowColor:{ if (appletIsValid) { - return isRectangled ? appletItem.wrapperAlias.overlayIconLoader.glowColor : colorizerManager.focusGlowColor; + return isSquare ? appletItem.wrapperAlias.overlayIconLoader.glowColor : colorizerManager.focusGlowColor; } return "white"; diff --git a/plasmoid/package/contents/ui/task/indicator/Bridge.qml b/plasmoid/package/contents/ui/task/indicator/Bridge.qml index 1baadb005..8158e6efe 100644 --- a/plasmoid/package/contents/ui/task/indicator/Bridge.qml +++ b/plasmoid/package/contents/ui/task/indicator/Bridge.qml @@ -52,7 +52,7 @@ Item { readonly property bool inAttention: taskIsValid ? taskItem.inAttention : false readonly property bool inRemoving: taskIsValid ? taskItem.inRemoveStage : false - readonly property bool isRectangled: true + readonly property bool isSquare: true readonly property bool hasActive: taskIsValid ? taskItem.hasActive : false readonly property bool hasMinimized: taskIsValid? taskItem.hasMinimized : false