aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/stage/stage.reel/stage.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index 9e2df5a2..77cd1936 100644
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -780,6 +780,12 @@ exports.Stage = Montage.create(Component, {
780 } 780 }
781 }, 781 },
782 782
783 toViewportCoordinates: {
784 value: function(x,y) {
785 return [x + this._userContentLeft, y + this._userContentTop];
786 }
787 },
788
783 setZoom: { 789 setZoom: {
784 value: function(value) { 790 value: function(value) {
785 if(!this._firstDraw) 791 if(!this._firstDraw)