mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed display of outline in box for share of QR code on non-retina.
This commit is contained in:
parent
2b0aa8e418
commit
fbaa79f168
1 changed files with 4 additions and 2 deletions
|
@ -593,10 +593,12 @@ void FillPeerQrBox(
|
|||
auto pen = st::activeLineFg->p;
|
||||
pen.setWidth(st::defaultInputField.borderActive);
|
||||
p.setPen(pen);
|
||||
const auto r = st::roundRadiusLarge
|
||||
+ activewidth * 2.1 * style::DevicePixelRatio();
|
||||
p.drawRoundedRect(
|
||||
widget->rect() - Margins(pen.width()),
|
||||
st::roundRadiusLarge + activewidth * 4.2,
|
||||
st::roundRadiusLarge + activewidth * 4.2);
|
||||
r,
|
||||
r);
|
||||
}
|
||||
}, widget->lifetime());
|
||||
counter++;
|
||||
|
|
Loading…
Add table
Reference in a new issue