drop applets custom hovering animation

work/spdx
Michail Vourlakos 4 years ago
parent 99531d4d19
commit a51f10b7e2

@ -537,25 +537,6 @@ Item{
}
}
BrightnessContrast{
id:hoveredImage
anchors.fill: _wrapperContainer
source: _wrapperContainer
enabled: opacity != 0 ? true : false
opacity: appletItem.containsMouse && isActive ? 1 : 0
brightness: 0.25
contrast: 0.15
visible: !indicators.info.providesHoveredAnimation
readonly property bool isActive: appletItem.isSquare && !originalAppletBehavior && !indicators.info.providesHoveredAnimation
Behavior on opacity {
enabled: hoveredImage.isActive
NumberAnimation { duration: appletItem.animations.speedFactor.current*appletItem.animations.duration.large }
}
}
BrightnessContrast {
id: _clickedEffect
anchors.fill: _wrapperContainer

Loading…
Cancel
Save