mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-26 23:21:37 +03:00
disable separators size when parabolicEffectEnabled
This commit is contained in:
parent
d8f8737d05
commit
c07c1c75ab
@ -156,6 +156,7 @@ Item {
|
||||
property bool highlightWindows: latteView ? latteView.hoverAction === Latte.Types.HighlightWindows || latteView.hoverAction === Latte.Types.PreviewAndHighlightWindows :
|
||||
plasmoid.configuration.highlightWindows
|
||||
property bool mouseWheelActions: latteView ? latteView.mouseWheelActions : true
|
||||
property bool parabolicEffectEnabled: latteView ? latteView.parabolicEffectEnabled : zoomFactor>1 && !root.editMode
|
||||
property bool reverseLinesPosition: latteView ? latteView.reverseLinesPosition : plasmoid.configuration.reverseLinesPosition
|
||||
property bool dotsOnActive: latteView ? latteView.dotsOnActive : plasmoid.configuration.dotsOnActive
|
||||
property bool showGlow: latteView ? latteView.showGlow : plasmoid.configuration.showGlow
|
||||
|
@ -49,7 +49,7 @@ MouseArea{
|
||||
return 0;
|
||||
|
||||
if (isSeparator)
|
||||
return root.vertical ? root.iconSize + root.thickMargins : (root.dragSource || root.editMode ? 5+root.lengthMargins : 0);
|
||||
return root.vertical ? root.iconSize + root.thickMargins : (root.dragSource || !root.parabolicEffectEnabled ? 5+root.lengthMargins : 0);
|
||||
|
||||
if (root.vertical) {
|
||||
return wrapper.width;
|
||||
@ -67,7 +67,7 @@ MouseArea{
|
||||
return 0;
|
||||
|
||||
if (isSeparator)
|
||||
return !root.vertical ? root.iconSize + root.thickMargins : (root.dragSource || root.editMode ? 5+root.lengthMargins: 0);
|
||||
return !root.vertical ? root.iconSize + root.thickMargins : (root.dragSource || !root.parabolicEffectEnabled ? 5+root.lengthMargins: 0);
|
||||
|
||||
if (root.vertical) {
|
||||
return hiddenSpacerLeft.height + wrapper.height + hiddenSpacerRight.height;
|
||||
|
Loading…
Reference in New Issue
Block a user