summaryrefslogtreecommitdiff
path: root/js/matrix.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-06-23 02:24:09 -0400
committerJules Laplace <jules@okfoc.us>2015-06-23 02:24:09 -0400
commit59d07c5058fe0e93fd9b6ebdbd725bbecb91b069 (patch)
treeb371fdf347c707906a7f9116344b13abd508d051 /js/matrix.js
parent3f1b27a8e876f3e3c21f3449f6fc571d5381faa6 (diff)
rotate button
Diffstat (limited to 'js/matrix.js')
-rw-r--r--js/matrix.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/matrix.js b/js/matrix.js
index 21963f1..0695810 100644
--- a/js/matrix.js
+++ b/js/matrix.js
@@ -181,6 +181,8 @@ Matrix.prototype.resize = function(w,h){
this.w = w
this.h = h
this.bind && this.bind()
+
+ if (this.rotated) { controls.rotate.use() }
}
//