mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fixed double click on gizmo overlay and toolbar
This commit is contained in:
		
							parent
							
								
									e9d5cd726e
								
							
						
					
					
						commit
						ea15475ad8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2978,7 +2978,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
 | 
			
		|||
        m_mouse.position = Vec2d(-1.0, -1.0);
 | 
			
		||||
        m_dirty = true;
 | 
			
		||||
    }
 | 
			
		||||
    else if (evt.LeftDClick() && (m_hover_volume_id != -1))
 | 
			
		||||
    else if (evt.LeftDClick() && (m_hover_volume_id != -1) && !gizmos_overlay_contains_mouse && (toolbar_contains_mouse == -1))
 | 
			
		||||
        m_on_double_click_callback.call();
 | 
			
		||||
    else if (evt.LeftDClick() && (toolbar_contains_mouse != -1))
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue