|
|
|
@ -159,6 +159,11 @@ Item{
|
|
|
|
|
"You can use mouse wheel to change background opacity of %0%").arg(Math.round(plasmoid.configuration.editBackgroundOpacity * 100))
|
|
|
|
|
|
|
|
|
|
onWheel: {
|
|
|
|
|
processWheel(wheel);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function processWheel(wheel) {
|
|
|
|
|
if (wheelIsBlocked) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -175,6 +180,15 @@ Item{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Connections {
|
|
|
|
|
target: root
|
|
|
|
|
onEmptyAreasWheel: {
|
|
|
|
|
if (root.editMode && !root.inConfigureAppletsMode) {
|
|
|
|
|
editBackMouseArea.processWheel(wheel);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//! A timer is needed in order to handle also touchpads that probably
|
|
|
|
|
//! send too many signals very fast. This way the signals per sec are limited.
|
|
|
|
|
//! The user needs to have a steady normal scroll in order to not
|
|
|
|
|