@ -78,7 +78,7 @@ MouseArea{
acceptedButtons: Qt . LeftButton | Qt . MidButton | Qt . RightButton
acceptedButtons: Qt . LeftButton | Qt . MidButton | Qt . RightButton
hoverEnabled: visible && ( ! inAnimation ) && ( ! IsStartup ) && ( ! root . taskInAnimation )
hoverEnabled: visible && ( ! inAnimation ) && ( ! IsStartup ) && ( ! root . taskInAnimation )
&& ( ! root . editMode || root . debugLocation ) && ( ! inBouncingAnimation ) && ! isSeparator
&& ( ! inBouncingAnimation ) && ! isSeparator
/ / h o v e r E n a b l e d : f a l s e
/ / 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
/ / 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
@ -545,9 +545,6 @@ MouseArea{
/ / / / / / / / / / / / / / / / / M o u s e A r e a E v e n t s / / / / / / / / / / / / / / / / / / /
/ / / / / / / / / / / / / / / / / M o u s e A r e a E v e n t s / / / / / / / / / / / / / / / / / / /
onEntered: {
onEntered: {
if ( root . editMode )
return ;
root . stopCheckRestoreZoomTimer ( ) ;
root . stopCheckRestoreZoomTimer ( ) ;
if ( restoreAnimation . running ) {
if ( restoreAnimation . running ) {
@ -620,7 +617,7 @@ MouseArea{
/ / ! o n P o s i t i o n C h a n g e d s i g n a l m a y b e d e l a y e d . w e c a n f i x t h i s b y d o n ' t d e l a y a t a l l
/ / ! o n P o s i t i o n C h a n g e d s i g n a l m a y b e d e l a y e d . w e c a n f i x t h i s b y d o n ' t d e l a y a t a l l
/ / ! w h e n m o u s e X - Y i s u p d a t e d b a s e d o n t h e p l a s m o i d f o r m F a c t o r
/ / ! w h e n m o u s e X - Y i s u p d a t e d b a s e d o n t h e p l a s m o i d f o r m F a c t o r
function mousePosChanged ( mousePos ) {
function mousePosChanged ( mousePos ) {
if ( root. editMode || mousePos< 0 ||
if ( mousePos< 0 ||
( inBlockingAnimation && ! ( inAttentionAnimation || inFastRestoreAnimation || inMimicParabolicAnimation ) ) )
( inBlockingAnimation && ! ( inAttentionAnimation || inFastRestoreAnimation || inMimicParabolicAnimation ) ) )
return ;
return ;
@ -672,7 +669,7 @@ MouseArea{
onPositionChanged: {
onPositionChanged: {
if ( root . editMode || ( inBlockingAnimation && ! ( inAttentionAnimation || inFastRestoreAnimation || inMimicParabolicAnimation ) ) )
if ( ( inBlockingAnimation && ! ( inAttentionAnimation || inFastRestoreAnimation || inMimicParabolicAnimation ) ) )
return ;
return ;
if ( root . latteView && root . latteView . isHalfShown ) {
if ( root . latteView && root . latteView . isHalfShown ) {
@ -683,7 +680,6 @@ MouseArea{
/ / m o u s e . b u t t o n i s a l w a y s 0 h e r e , h e n c e c h e c k i n g w i t h m o u s e . b u t t o n s
/ / m o u s e . b u t t o n i s a l w a y s 0 h e r e , h e n c e c h e c k i n g w i t h m o u s e . b u t t o n s
if ( pressX != - 1 && mouse . buttons == Qt . LeftButton
if ( pressX != - 1 && mouse . buttons == Qt . LeftButton
&& isDragged
&& isDragged
&& ! root . editMode
&& dragHelper . isDrag ( pressX , pressY , mouse . x , mouse . y ) ) {
&& dragHelper . isDrag ( pressX , pressY , mouse . x , mouse . y ) ) {
root . dragSource = taskItem ;
root . dragSource = taskItem ;
dragHelper . startDrag ( taskItem , model . MimeType , model . MimeData ,
dragHelper . startDrag ( taskItem , model . MimeType , model . MimeData ,