Commit 115a3e1a authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Desktop Containment] Hide tooltip while rotating the widget

The tooltip doesn't follow along and looks quite awkward when it's stuck in its original position.

Differential Revision: https://phabricator.kde.org/D25936
parent 67d86068
......@@ -52,7 +52,7 @@ PlasmaComponents.ToolButton {
id: toolTip
text: button.qAction ? button.qAction.text : ""
delay: 0
visible: button.hovered
visible: button.hovered && text.length > 0
x: button.width
y: button.height/2 - height/2
}
......
......@@ -98,7 +98,7 @@ ContainmentLayoutManager.ConfigOverlayWithHandles {
id: rotateButton
svg: configIconsSvg
elementId: "rotate"
toolTip: i18n("Rotate")
toolTip: !rotateHandle.pressed ? i18n("Rotate") : ""
iconSize: overlay.iconSize
action: (applet) ? applet.action("rotate") : null
down: !rotateHandle.pressed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment