From 05a3ab8a332bd207614a803f3b0744fbec817500 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 28 Sep 2022 17:57:29 +0200 Subject: [PATCH] Mark activity when ImGui windowing navigation target is on. --- profiler/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 43fb1f45..1c4561bb 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -366,7 +366,7 @@ static void DrawContents() else { auto ctx = ImGui::GetCurrentContext(); - if( ctx->DimBgRatio != 0 && ctx->DimBgRatio != 1 ) + if( ctx->NavWindowingTarget || ( ctx->DimBgRatio != 0 && ctx->DimBgRatio != 1 ) ) { activeFrames = 3; }