1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-25 19:21:41 +03:00

drop applets custom hovering animation

This commit is contained in:
Michail Vourlakos 2020-12-28 16:44:54 +02:00
parent 99531d4d19
commit a51f10b7e2

View File

@ -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