@ -2320,7 +2320,9 @@ static void NavRestoreLayer(int layer)
static inline void NavUpdateAnyRequestFlag ( )
{
ImGuiContext & g = * GImGui ;
g . NavAnyRequest = g . NavMoveRequest | | g . NavInitRequest | | IMGUI_DEBUG_NAV_SCORING ;
g . NavAnyRequest = g . NavMoveRequest | | g . NavInitRequest | | ( IMGUI_DEBUG_NAV_SCORING & & g . NavWindow ! = NULL ) ;
if ( g . NavAnyRequest )
IM_ASSERT ( g . NavWindow ! = NULL ) ;
}
static bool NavMoveRequestButNoResultYet ( )
@ -13258,6 +13260,7 @@ void ImGui::ShowMetricsWindow(bool* p_open)
ImGui : : Text ( " HoveredId: 0x%08X/0x%08X (%.2f sec) " , g . HoveredId , g . HoveredIdPreviousFrame , g . HoveredIdTimer ) ; // Data is "in-flight" so depending on when the Metrics window is called we may see current frame information or not
ImGui : : Text ( " ActiveId: 0x%08X/0x%08X (%.2f sec), ActiveIdSource: %s " , g . ActiveId , g . ActiveIdPreviousFrame , g . ActiveIdTimer , input_source_names [ g . ActiveIdSource ] ) ;
ImGui : : Text ( " ActiveIdWindow: '%s' " , g . ActiveIdWindow ? g . ActiveIdWindow - > Name : " NULL " ) ;
ImGui : : Text ( " MovingWindow: '%s' " , g . MovingWindow ? g . MovingWindow - > Name : " NULL " ) ;
ImGui : : Text ( " NavWindow: '%s' " , g . NavWindow ? g . NavWindow - > Name : " NULL " ) ;
ImGui : : Text ( " NavId: 0x%08X, NavLayer: %d " , g . NavId , g . NavLayer ) ;
ImGui : : Text ( " NavInputSource: %s " , input_source_names [ g . NavInputSource ] ) ;