Fix: Constrained Home-Screen Completed & SplashScreen #15

This commit is contained in:
Youwes09
2026-03-29 12:51:17 -05:00
parent 32d2fffdc5
commit a77572a8d4
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -247,7 +247,7 @@
const sin = tg.sinA * Math.cos(delta) + tg.cosA * Math.sin(delta);
ctx.globalAlpha = alpha;
ctx.setTransform(cos * dpr, sin * dpr, -sin * dpr, cos * dpr, c.cx * dpr, cy * dpr);
const sw = stamps[i].width / dpr, sh = stamps[i].height / dpr;
const sw = stamps[i].width, sh = stamps[i].height;
ctx.drawImage(stamps[i], -sw / 2, -sh / 2, sw, sh);
}
ctx.setTransform(1, 0, 0, 1, 0, 0); ctx.globalAlpha = 1;