From 100bacc471b325d52beda5e0ca4d3fee4e2f38fc Mon Sep 17 00:00:00 2001 From: Dennis Postma Date: Fri, 4 Apr 2025 03:23:15 +0200 Subject: [PATCH] format --- src/components/MainContent.vue | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/src/components/MainContent.vue b/src/components/MainContent.vue index c33a481..fa1d1d9 100644 --- a/src/components/MainContent.vue +++ b/src/components/MainContent.vue @@ -11,14 +11,30 @@
-
+
@@ -101,16 +117,7 @@ ); const setupCheckerboardPattern = () => { - if (!canvasEl.value) return; - - canvasEl.value.style.backgroundImage = ` - linear-gradient(45deg, #1a1a1a 25%, transparent 25%), - linear-gradient(-45deg, #1a1a1a 25%, transparent 25%), - linear-gradient(45deg, transparent 75%, #1a1a1a 75%), - linear-gradient(-45deg, transparent 75%, #1a1a1a 75%) - `; - canvasEl.value.style.backgroundSize = '20px 20px'; - canvasEl.value.style.backgroundPosition = '0 0, 0 10px, 10px -10px, -10px 0px'; + // Remove this function or leave it empty since we don't need it anymore }; const updateCanvasSize = () => {