mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Nav: do not clear per-window NavId when window reappears. Process NavInit regardless of current highllight state. Consistently set g.NavLayer in SetNavID(). (#787)
This commit is contained in:
		| @@ -6581,7 +6581,6 @@ void ImGui::EndMenuBar() | ||||
|             IM_ASSERT(window->DC.NavLayerActiveMaskNext & (1 << layer)); // Sanity check | ||||
|             FocusWindow(window); | ||||
|             SetNavIDWithRectRel(window->NavLastIds[layer], layer, 0, window->NavRectRel[layer]); | ||||
|             g.NavLayer = layer; | ||||
|             g.NavDisableHighlight = true; // Hide highlight for the current frame so we don't see the intermediary selection. | ||||
|             g.NavMoveRequestForward = ImGuiNavForward_ForwardQueued; | ||||
|             NavMoveRequestCancel(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user