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:
parent
2575ee43be
commit
48673273c3
@ -236,7 +236,7 @@ MouseArea {
|
||||
|
||||
onWheel: {
|
||||
if (currentApplet && (currentApplet.applet.pluginName !== "org.kde.latte.spacer")) {
|
||||
return
|
||||
return;
|
||||
}
|
||||
|
||||
var angle = wheel.angleDelta.y / 8;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user