1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-28 18:50:40 +03:00

fix many typo(s)

This commit is contained in:
Michail Vourlakos 2018-11-19 22:28:53 +02:00
parent 2575ee43be
commit 48673273c3
2 changed files with 8 additions and 3 deletions

View File

@ -236,7 +236,7 @@ MouseArea {
onWheel: {
if (currentApplet && (currentApplet.applet.pluginName !== "org.kde.latte.spacer")) {
return
return;
}
var angle = wheel.angleDelta.y / 8;

View File

@ -176,8 +176,13 @@ DragDrop.DropArea {
property int iconStep: 8
property int latteAppletPos: -1
property int maxLength: root.isHorizontal ? behaveAsPlasmaPanel ? width : width * (plasmoid.configuration.maxLength/100)
: behabeAsPlasmaPanel ? height : height * (plasmoid.configuration.maxLength/100)
property int maxLength: {
if (root.isHorizontal) {
return behaveAsPlasmaPanel ? width : width * (plasmoid.configuration.maxLength/100)
} else {
return behaveAsPlasmaPanel ? height : height * (plasmoid.configuration.maxLength/100)
}
}
property int middleClickAction: plasmoid.configuration.middleClickAction
property int modifier: plasmoid.configuration.modifier