diff --git a/containment/package/contents/ui/applet/ItemWrapper.qml b/containment/package/contents/ui/applet/ItemWrapper.qml index df93c8e4b..b39418892 100644 --- a/containment/package/contents/ui/applet/ItemWrapper.qml +++ b/containment/package/contents/ui/applet/ItemWrapper.qml @@ -576,6 +576,7 @@ Item{ opacity: appletMouseArea.containsMouse ? 1 : 0 brightness: 0.25 contrast: 0.15 + visible: !indicators.info.providesHoveredAnimation Behavior on opacity { NumberAnimation { duration: root.durationTime*units.longDuration } @@ -587,7 +588,7 @@ Item{ anchors.fill: _wrapperContainer source: _wrapperContainer - visible: clickedAnimation.running + visible: clickedAnimation.running && !indicators.info.providesClickedAnimation } /* onHeightChanged: { diff --git a/indicators/org.kde.latte.plasma/package/ui/FrontLayer.qml b/indicators/org.kde.latte.plasma/package/ui/FrontLayer.qml index a8a2ec338..f5d81b563 100644 --- a/indicators/org.kde.latte.plasma/package/ui/FrontLayer.qml +++ b/indicators/org.kde.latte.plasma/package/ui/FrontLayer.qml @@ -58,16 +58,16 @@ Item { PropertyAnimation { target: clickedRectangle property: "width" - to: indicator.currentIconSize * 3 + to: indicator.currentIconSize * indicator.scaleFactor * 3 duration: 700 - easing.type: Easing.OutQuad + easing.type: Easing.Linear } PropertyAnimation { target: clickedRectangle property: "opacity" to: 0 duration: 700 - easing.type: Easing.OutQuad + easing.type: Easing.Linear } } }