pattern: hdpi fix
This commit is contained in:
@@ -25,7 +25,7 @@ function setupCanvas(canvas) {
|
||||
const ctx = canvas.getContext('2d')
|
||||
ctx.scale(dpr, dpr)
|
||||
|
||||
if (canvas.width > 750) {
|
||||
if ((canvas.width / dpr) > 750) {
|
||||
small = NORMAL_SMALL
|
||||
big = NORMAL_BIG
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user