mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Adapt release notes window size to DPI scaling.
This commit is contained in:
parent
1002e949d6
commit
09de127ca2
@ -916,7 +916,7 @@ static void DrawContents()
|
||||
if( showReleaseNotes )
|
||||
{
|
||||
assert( updateNotesThread.joinable() );
|
||||
ImGui::SetNextWindowSize( ImVec2( 600, 400 ), ImGuiCond_FirstUseEver );
|
||||
ImGui::SetNextWindowSize( ImVec2( 600 * dpiScale, 400 * dpiScale ), ImGuiCond_FirstUseEver );
|
||||
ImGui::Begin( "Update available!", &showReleaseNotes );
|
||||
if( ImGui::Button( ICON_FA_DOWNLOAD " Download" ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user