|  |  | @ -42,8 +42,8 @@ void Toggle::mouseReleaseEvent(QMouseEvent *e) { | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  |   const int left = _radius; |  |  |  |   const int left = _radius; | 
			
		
	
		
		
			
				
					
					|  |  |  |   const int right = width() - _radius; |  |  |  |   const int right = width() - _radius; | 
			
		
	
		
		
			
				
					
					|  |  |  |   if(_x_circle != left && _x_circle != right) { |  |  |  |   if ((_x_circle != left && _x_circle != right) || !this->rect().contains(e->localPos().toPoint())) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     //Don't parse touch events, while the animation is running
 |  |  |  |     // If mouse release isn't in rect or animation is running, don't parse touch events
 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     return; |  |  |  |     return; | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  |   if (e->button() & Qt::LeftButton) { |  |  |  |   if (e->button() & Qt::LeftButton) { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |