mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-08 18:05:27 +00:00
Add DPI change notification method in View.
This commit is contained in:
@@ -198,6 +198,9 @@ static void SetupDPIScale()
|
||||
prevScale = scale;
|
||||
auto ctx = ImGui::GetCurrentContext();
|
||||
for( auto& w : ctx->Windows ) ScaleWindow( w, ratio );
|
||||
|
||||
auto viewPtr = view.load( std::memory_order_acquire );
|
||||
if( viewPtr ) viewPtr->DpiScaleChanged();
|
||||
}
|
||||
|
||||
static int IsBusy()
|
||||
|
||||
Reference in New Issue
Block a user