Mark activity when ImGui windowing navigation target is on.

This commit is contained in:
Bartosz Taudul 2022-09-28 17:57:29 +02:00
parent 6fa0f55a83
commit 05a3ab8a33
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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;
}