AvatarStoryCircle: Fix stroke width on high DPR (#4171)
This commit is contained in:
parent
29f53a01b7
commit
f3452bae32
@ -150,7 +150,7 @@ export function drawGradientCircle({
|
||||
segmentsCount = SEGMENTS_MAX;
|
||||
}
|
||||
|
||||
const strokeModifier = Math.max(Math.max(size - SIZES.large * dpr, 0) / REM / 1.5, 1);
|
||||
const strokeModifier = Math.max(Math.max(size - SIZES.large * dpr, 0) / dpr / REM / 1.5, 1) * dpr;
|
||||
|
||||
const ctx = canvas.getContext('2d');
|
||||
if (!ctx) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user