1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 02:50:22 +03:00

drop deprecated option from hiddenspacer

This commit is contained in:
Michail Vourlakos 2021-02-06 12:08:15 +02:00
parent f58ad7af56
commit 106aa7ca52

View File

@ -33,16 +33,12 @@ Item{
|| abilityItem.isHiddenSpacerForcedShow
property bool neighbourSeparator: rightSpacer ? abilityItem.headItemIsSeparator : abilityItem.tailItemIsSeparator
//in case there is a neighbour separator, lastValidIndex is used in order to protect from false
//when the task is removed
property int indexUsed: index === -1 ? lastValidIndex : index
property bool rightSpacer: false
property int separatorSpace: neighbourSeparator && !abilityItem.isSeparator && abilityItem.abilities.parabolic.isEnabled
&& !(abilityItem.abilities.indexer.separators.length>0 && abilityItem.isSeparatorInRealLength) ?
(LatteCore.Environment.separatorLength/2) : 0
property bool rightSpacer: false
property real nScale: 0
property real nHiddenSize: 0