Closed aokcoder closed 2 years ago
canvas.width
devicePixelRatio
Signed-off-by: aokcoder 34686857+aokcoder@users.noreply.github.com
Problem
Fix
canvas.width
for the calculation without taking into account thedevicePixelRatio
of the device.Signed-off-by: aokcoder 34686857+aokcoder@users.noreply.github.com