summaryrefslogtreecommitdiff
path: root/js/ui/controls.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/ui/controls.js')
-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)