mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Keyboard capture by 3D view on Linux
This commit is contained in:
		
							parent
							
								
									ad54210c3e
								
							
						
					
					
						commit
						b67064ef81
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -389,7 +389,7 @@ sub mouse_event { | |||
| 
 | ||||
|     $self->_mouse_dragging($e->Dragging); | ||||
|      | ||||
|     if ($e->Entering && &Wx::wxMSW) { | ||||
|     if ($e->Entering && (&Wx::wxMSW || $^O eq 'linux')) { | ||||
|         # wxMSW needs focus in order to catch mouse wheel events | ||||
|         $self->SetFocus; | ||||
|         $self->_drag_start_xy(undef);         | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri