mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-15 15:24:24 +03:00
fix maximum length calculation in qml side
--the maximum length calculation in qml side was not calculated correctly for behabeAsPlasmaPanel flag
This commit is contained in:
parent
1888fb7c80
commit
9c3107d363
@ -187,8 +187,8 @@ DragDrop.DropArea {
|
|||||||
|
|
||||||
property int iconStep: 8
|
property int iconStep: 8
|
||||||
property int latteAppletPos: -1
|
property int latteAppletPos: -1
|
||||||
property int maxLength: root.isHorizontal ? width * (plasmoid.configuration.maxLength/100)
|
property int maxLength: root.isHorizontal ? behaveAsPlasmaPanel ? width : width * (plasmoid.configuration.maxLength/100)
|
||||||
: height * (plasmoid.configuration.maxLength/100)
|
: behabeAsPlasmaPanel ? height : height * (plasmoid.configuration.maxLength/100)
|
||||||
|
|
||||||
property int middleClickAction: plasmoid.configuration.middleClickAction
|
property int middleClickAction: plasmoid.configuration.middleClickAction
|
||||||
property int modifier: plasmoid.configuration.modifier
|
property int modifier: plasmoid.configuration.modifier
|
||||||
|
Loading…
x
Reference in New Issue
Block a user