fix parabolic effect and Tasks thickness

--this fixes the Tasks plasmoid thickness and
improves a small breakage in the parabolic effect.
The Tasks thickness is going to maximum when there
is a hoveredInded in plasmoid or in containment.
--the previous fix, fixes also a small breakage in
the parabolic effect animation. The breakage was
appearing when going from
applet->applet separator->task and directRender is
enabled
pull/1/head
Michail Vourlakos 8 years ago
parent 19af87417e
commit 51b600725d

@ -559,7 +559,7 @@ Item {
//! only to support springloading for plasma 5.10
//! also on this is based the tooltips behavior by enabling it
//! plasma tooltips are disabled
visible: !lockZoom && canBeHovered && !(container.isSeparator && !root.editMode) //&& (root.zoomFactor>1)
visible: !container.latteApplet && !lockZoom && canBeHovered && !(container.isSeparator && !root.editMode) //&& (root.zoomFactor>1)
property bool pressed: false

@ -50,7 +50,7 @@ Item{
//return container.sizeForFill;
}
if (latteApplet) {
if (container.latteApplet) {
if (container.showZoomed && root.isVertical)
return root.statesLineSize + root.thickMargin + root.iconSize + 1;
else
@ -79,7 +79,7 @@ Item{
//return container.sizeForFill;
}
if (latteApplet) {
if (container.latteApplet) {
if (container.showZoomed && root.isHorizontal)
return root.statesLineSize + root.thickMargin + root.iconSize + 1;
else

@ -868,7 +868,7 @@ Item {
target: icList
property int maxSize: (root.hoveredIndex>=0 && !root.dragSource) ?
property int maxSize: ((root.hoveredIndex>=0 || dockHoveredIndex>=0 ) && !root.dragSource) ?
root.statesLineSize + root.zoomFactor * (root.iconSize + root.thickMargin) :
root.statesLineSize + root.iconSize + root.thickMargin

Loading…
Cancel
Save