summaryrefslogtreecommitdiff
path: root/js/ui
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-06-23 02:33:26 -0400
committerJules Laplace <jules@okfoc.us>2015-06-23 02:33:26 -0400
commitbff03a8d7cec99b01e9967c0784b6ee6f4ed1703 (patch)
tree129bca55c1f64d77531df51726152b4cb7302067 /js/ui
parente5afc28fa989720173310ef7ccc9cb7fcd52c07a (diff)
rotation
Diffstat (limited to 'js/ui')
-rw-r--r--js/ui/controls.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/ui/controls.js b/js/ui/controls.js
index 5b2e63d..3b9dfc4 100644
--- a/js/ui/controls.js
+++ b/js/ui/controls.js
@@ -208,9 +208,9 @@ var controls = (function(){
}
else {
canvas_rapper.parentNode.classList.remove("rotated")
- canvas_rapper.parentNode.style.height = (canvas_rapper.offsetHeight+20) + "px"
+ canvas_rapper.parentNode.style.height = ""
// canvas_rapper.parentNode.style.width = (canvas_rapper.offsetWidth+20) + "px"
- canvas_rapper.style.top = "auto"
+ canvas_rapper.style.top = ""
// canvas_rapper.style.left = "auto"
}
this.update(canvas.rotated)