about summary refs log tree commit diff stats
path: root/html
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2025-01-11 12:21:17 -0500
committerelioat <elioat@tilde.institute>2025-01-11 12:21:17 -0500
commit95067512ffb2ee129581146cc433ddd9c79c3b49 (patch)
tree7063c1c9b093a6a73f87b9faea95108dac274ff5 /html
parent9eb44ff7206bf993679208dc4fbacbff57356998 (diff)
downloadtour-95067512ffb2ee129581146cc433ddd9c79c3b49.tar.gz
*
Diffstat (limited to 'html')
-rw-r--r--html/cards/script.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/html/cards/script.js b/html/cards/script.js
index b6bb9dc..8df9453 100644
--- a/html/cards/script.js
+++ b/html/cards/script.js
@@ -4,7 +4,6 @@ const CARD_HEIGHT = 150;
 const PADDING = 10;
 const SUITS = ['❤️', '♦️', '♣️', '♠️'];
 const VALUES = ['2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K', 'A'];
-const CARD_BACK_COLOR = '#FFCC00';
 const PATTERN_SIZE = 10;
 const INITIAL_CARD_X = 20;
 const INITIAL_CARD_Y = 20;
@@ -45,7 +44,6 @@ const clearCanvas = () => {
 };
 
 const drawCardBack = card => {
-    ctx.fillStyle = CARD_BACK_COLOR;
     ctx.fillRect(card.x, card.y, CARD_WIDTH, CARD_HEIGHT);
     drawRetroPattern(card);
     ctx.strokeStyle = CARD_BORDER_COLOR;