mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-20 06:50:28 +03:00
correct center calculation based on hidden spacers
This commit is contained in:
parent
ca65e2c4f0
commit
0c69277912
@ -134,7 +134,7 @@ Item{
|
||||
property int moreWidth: ((applet && (applet.pluginName === "org.kde.plasma.systemtray")) || root.reverseLinesPosition)
|
||||
&& root.isVertical ? localMoreSpace : 0
|
||||
|
||||
property real center: width / 2
|
||||
property real center:(width + hiddenSpacerLeft.separatorSpace + hiddenSpacerRight.separatorSpace) / 2
|
||||
property real zoomScale: 1
|
||||
|
||||
property int index: container.index
|
||||
|
Loading…
x
Reference in New Issue
Block a user