@ -88,6 +88,7 @@ MouseArea{
/ / h o v e r E n a b l e d : f a l s e
/ / o p a c i t y : i s S e p a r a t o r & & ( h i d d e n S p a c e r L e f t . n e i g h b o u r S e p a r a t o r | | h i d d e n S p a c e r R i g h t . n e i g h b o u r S e p a r a t o r ) ? 0 : 1
property bool blockWheel: false
property bool buffersAreReady: false
property bool delayingRemove: ListView . delayRemove
property bool scalesUpdatedOnce: false
@ -863,13 +864,16 @@ MouseArea{
}
onWheel: {
if ( isSeparator || ! root . mouseWheelActions || inWheelAction || inBouncingAnimation
if ( isSeparator || ! root . mouseWheelActions || blockWheel || inWheelAction || inBouncingAnimation
|| ( latteDock && ( latteDock . dockIsHidden || latteDock . inSlidingIn || latteDock . inSlidingOut ) ) ) {
return ;
}
var angle = wheel . angleDelta . y / 8 ;
blockWheel = true ;
scrollDelayer . start ( ) ;
/ / p o s i t i v e d i r e c t i o n
if ( angle > 12 ) {
if ( isLauncher || root . disableAllWindowsFunctionality ) {
@ -908,6 +912,18 @@ MouseArea{
}
}
/ / ! A t i m e r i s n e e d e d i n o r d e r t o h a n d l e a l s o t o u c h p a d s t h a t p r o b a b l y
/ / ! s e n d t o o m a n y s i g n a l s v e r y f a s t . T h i s w a y t h e s i g n a l s p e r s e c a r e l i m i t e d .
/ / ! T h e u s e r n e e d s t o h a v e a s t e a d y n o r m a l s c r o l l i n o r d e r t o n o t
/ / ! n o t i c e a a n n o y i n g d e l a y
Timer {
id: scrollDelayer
interval: 400
onTriggered: mainItemContainer . blockWheel = false ;
}
/ / / / / / / / / / / / / / / / / E n d O f M o u s e A r e a E v e n t s / / / / / / / / / / / / / / / / / / /
/ / / / / H a n d l e r s f o r S i g n a l s / / / / /