diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-07-28 22:28:34 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-07-28 22:28:34 -0400 |
commit | aecd8926c6c7bd7bcc0751e38b4459b57a87821c (patch) | |
tree | 307591f3a85ce46206faae4853fde00fdfca4cb6 /scripts | |
parent | 03b7e2d4cb001cef990efef61d9ce499c8e4f878 (diff) |
Fix bug with rotation
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/cards/deck.js | 4 |
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); |