mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-11-04 01:34:32 +00:00 
			
		
		
		
	Nav: Fixed a bug where mouse positioning requests would be sent while opening submenus with mouse (#323)
This commit is contained in:
		@@ -2463,7 +2463,7 @@ static void NavUpdate()
 | 
			
		||||
        IM_ASSERT(g.NavWindow);
 | 
			
		||||
        g.NavId = g.NavInitDefaultResultId;
 | 
			
		||||
        g.NavRefRectRel = g.NavInitDefaultResultRectRel;
 | 
			
		||||
        if (!g.NavDisableHighlight)
 | 
			
		||||
        if (g.NavDisableMouseHover)
 | 
			
		||||
            g.NavMousePosDirty = true;
 | 
			
		||||
        if (g.NavLayer == 0)
 | 
			
		||||
            g.NavWindow->NavLastId = g.NavId;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user