Adapt release notes window size to DPI scaling.

This commit is contained in:
Bartosz Taudul 2021-11-18 18:57:43 +01:00
parent 1002e949d6
commit 09de127ca2
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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" ) )
{