BUG-40548: Don't bug user with DPI scaling changed on first run after clean install

meow-7.2.2
Ansariel 2016-09-21 00:42:42 +02:00
parent 39cb86c596
commit d571b2df41
1 changed files with 4 additions and 1 deletions

View File

@ -1831,7 +1831,10 @@ LLViewerWindow::LLViewerWindow(const Params& p)
F32 system_scale_factor = mWindow->getSystemUISize();
if (p.first_run || gSavedSettings.getF32("LastSystemUIScaleFactor") != system_scale_factor)
{
mSystemUIScaleFactorChanged = true;
// <FS:Ansariel> BUG-40548: Don't bug user with DPI scaling changed on first run after clean install
//mSystemUIScaleFactorChanged = true;
mSystemUIScaleFactorChanged = !p.first_run;
// </FS:Ansariel>
gSavedSettings.setF32("LastSystemUIScaleFactor", system_scale_factor);
gSavedSettings.setF32("UIScaleFactor", system_scale_factor);
}