From 015cfb5bcd9b957e4c4ea86f7ddb038e383a14cf Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Sun, 29 Sep 2024 23:27:15 +0800 Subject: [PATCH] formatting --- components/Icon.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/components/Icon.vue b/components/Icon.vue index 8e481f9..2841ab1 100644 --- a/components/Icon.vue +++ b/components/Icon.vue @@ -12,9 +12,8 @@ onMounted(async () => { const context = canvasRef.value.getContext("2d"); const [j, i] = await props.sprites; const data = j[props.name]; - context.drawImage(i, data.x, data.y, data.width, data.height, 0,0, 38, 38) + context.drawImage(i, data.x, data.y, data.width, data.height, 0, 0, 38, 38); }); -