Fix 125% scale active account check.

This commit is contained in:
John Preston 2020-06-29 15:07:42 +04:00
parent 5689154ec5
commit 1757dd856b

View File

@ -198,7 +198,7 @@ void MainMenu::AccountButton::paintUserpic(Painter &p) {
user->paintUserpicLeft(p, _userpicView, x, y, width(), size);
return;
}
const auto added = y;
const auto added = st::mainMenuAccountCheck.size;
const auto cacheSize = QSize(size + added, size + added)
* cIntRetinaFactor();
const auto key = user->userpicUniqueKey(_userpicView);