summaryrefslogtreecommitdiff
path: root/frontend/views/page/components/tile.handle.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-09 19:38:35 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-09 19:38:35 +0200
commit78fda608baeb37058fa1865d66c49b35dd3bf187 (patch)
tree5ba3a4f1de4d08fde1190772e0ad17c35b3cd7cd /frontend/views/page/components/tile.handle.js
parent149a75f80c5fbd09329a2e7f87204e67a2c429df (diff)
adding rotation and scale sliders
Diffstat (limited to 'frontend/views/page/components/tile.handle.js')
-rw-r--r--frontend/views/page/components/tile.handle.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/views/page/components/tile.handle.js b/frontend/views/page/components/tile.handle.js
index 43817a3..b997d13 100644
--- a/frontend/views/page/components/tile.handle.js
+++ b/frontend/views/page/components/tile.handle.js
@@ -94,7 +94,7 @@ const generateTransform = (tile, box) => {
transform.push('scale(' + scale + ')')
}
if (rotation !== 0) {
- transform.push('rotateZ(' + rotation + 'rad)')
+ transform.push('rotateZ(' + rotation + 'deg)')
}
return transform.join(' ')
}