Don't fade animate icon in plasma tooltips
PlasmaCore.IconItem has a fade animation when changing source. Clearing the source when tooltip is not visible eliminates the animation. REVIEW: 125178
This commit is contained in:
parent
0df4823e8b
commit
4b4461d76b
@ -54,7 +54,7 @@ Item {
|
||||
|
||||
PlasmaCore.IconItem {
|
||||
id: tooltipIcon
|
||||
source: toolTip ? toolTip.icon : ""
|
||||
source: tooltipContentItem.visible && toolTip ? toolTip.icon : ""
|
||||
Layout.alignment: Qt.AlignTop
|
||||
visible: toolTip != null && toolTip.icon != "" && toolTip.image == ""
|
||||
implicitWidth: toolTip && toolTip.icon != "" ? units.iconSizes.medium : 0
|
||||
|
Loading…
Reference in New Issue
Block a user