summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/cards/deck.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cards/deck.js b/scripts/cards/deck.js
index f1e2689..b1c7fd2 100644
--- a/scripts/cards/deck.js
+++ b/scripts/cards/deck.js
@@ -50,8 +50,8 @@ class Deck {
// x and y values are on a scale from 0 to 1, 0 being top left, 1 being bottom right.
this.e.style.setProperty("--x", options.pos[0]);
this.e.style.setProperty("--y", options.pos[1]);
- this.e.style.setProperty("--rot", options.pos[2]);
- this.e.style.setProperty("--scale", options.pos[3] + "deg");
+ this.e.style.setProperty("--rot", options.pos[2] + "deg");
+ this.e.style.setProperty("--scale", options.pos[3]);
this.e.setAttribute("mode", options.mode);