mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-23 13:33:50 +03:00
fix minimumLength for !compositing
This commit is contained in:
parent
6034073dd0
commit
ef41f17ef3
@ -278,9 +278,9 @@ Item {
|
||||
|
||||
property int minLength: {
|
||||
if (root.isHorizontal) {
|
||||
return behaveAsPlasmaPanel ? width : width * (minLengthPerCentage/100)
|
||||
return behaveAsPlasmaPanel && Latte.WindowSystem.compositingActive ? width : width * (minLengthPerCentage/100)
|
||||
} else {
|
||||
return behaveAsPlasmaPanel ? height : height * (minLengthPerCentage/100)
|
||||
return behaveAsPlasmaPanel && Latte.WindowSystem.compositingActive ? height : height * (minLengthPerCentage/100)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user