mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX:(mac)preview display
preview GCodeViewer Legend display doesn't disable when changing printer setting Change-Id: I97a1b9a1002a6327c31721f9b695a2fe2fe0dbf6
This commit is contained in:
		
							parent
							
								
									40a6fb2fe8
								
							
						
					
					
						commit
						ae0ad4136b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -92,6 +92,9 @@ ObjectList::ObjectList(wxWindow* parent) : | |||
|     Bind(wxEVT_DATAVIEW_SELECTION_CHANGED, [this](wxDataViewEvent& event) { | ||||
|         // detect the current mouse position here, to pass it to list_manipulation() method
 | ||||
|         // if we detect it later, the user may have moved the mouse pointer while calculations are performed, and this would mess-up the HitTest() call performed into list_manipulation()
 | ||||
|         if (!GetScreenRect().Contains(wxGetMousePosition())) { | ||||
|             return; | ||||
|         } | ||||
| #ifndef __WXOSX__ | ||||
|         const wxPoint mouse_pos = this->get_mouse_position_in_control(); | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 liz.li
						liz.li