feat(assets): use single texture atlas instead of loading all images individually
This commit is contained in:
@@ -55,7 +55,7 @@ function drawLine(
|
||||
onRender((ctx) => {
|
||||
ctx.translate(0, -16);
|
||||
|
||||
ctx.drawImage(assets.home.topScreen.clock, 13, 45);
|
||||
assets.images.home.topScreen.clock.draw(ctx, 13, 45);
|
||||
|
||||
const now = new Date();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user