1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-31 13:47:20 +03:00

onwheel event publish task geometries

This commit is contained in:
Michail Vourlakos 2019-05-01 19:11:13 +03:00
parent 704a12a522
commit f10239e364

View File

@ -854,6 +854,8 @@ MouseArea{
//positive direction
if (angle > 12) {
slotPublishGeometries();
if (root.scrollingEnabled && scrollableList.contentsExceed) {
scrollableList.increasePos();
} else {
@ -874,6 +876,8 @@ MouseArea{
hidePreviewWindow();
}
} else if (angle < -12) {
slotPublishGeometries();
//negative direction
if (root.scrollingEnabled && scrollableList.contentsExceed) {
scrollableList.decreasePos();