mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fix of mouse wheel scrolling over the variable layer height bar
with OSX Retina rendering.
This commit is contained in:
		
							parent
							
								
									7719173f89
								
							
						
					
					
						commit
						72d85261fb
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -5231,6 +5231,12 @@ void GLCanvas3D::on_mouse_wheel(wxMouseEvent& evt) | |||
|     if (evt.MiddleIsDown()) | ||||
|         return; | ||||
| 
 | ||||
| #if ENABLE_RETINA_GL | ||||
|     const float scale = m_retina_helper->get_scale_factor(); | ||||
|     evt.SetX(evt.GetX() * scale); | ||||
|     evt.SetY(evt.GetY() * scale); | ||||
| #endif | ||||
| 
 | ||||
|     // Performs layers editing updates, if enabled
 | ||||
|     if (is_layers_editing_enabled()) | ||||
|     { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv