Commit 9c885b97 authored by Andrey Butirsky's avatar Andrey Butirsky

fix: keyboard layout applet: wrong scroll direction

Make mouse wheel layouts scrolling direction in a more natural way -
corresponding to layouts order in context menu
parent 68bca3f2
......@@ -25,9 +25,9 @@ PlasmaComponents3.ToolButton {
acceptedButtons: Qt.NoButton
onWheel: {
if (wheel.angleDelta.y > 0) {
keyboardLayout.switchToNextLayout()
} else {
keyboardLayout.switchToPreviousLayout()
} else {
keyboardLayout.switchToNextLayout()
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment