diff options
author | Eric Guzman | 2012-07-20 11:24:19 -0700 |
---|---|---|
committer | Eric Guzman | 2012-07-20 11:24:19 -0700 |
commit | 3cc29231852440508bdeec1964e40ce59f979f99 (patch) | |
tree | 2faaf3d49337437e4a84818fe24dc64a60f8c611 /js/helper-classes/3D/snap-manager.js | |
parent | 8fdf2fc8aefee68aec4c7b5891e0375f704cbf26 (diff) | |
parent | 9053e2037821a5c8405fabb74db9635deacfe8d5 (diff) | |
download | ninja-3cc29231852440508bdeec1964e40ce59f979f99.tar.gz |
Merge branch 'refs/heads/master' into fixes_7.1
Diffstat (limited to 'js/helper-classes/3D/snap-manager.js')
-rwxr-xr-x | js/helper-classes/3D/snap-manager.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/helper-classes/3D/snap-manager.js b/js/helper-classes/3D/snap-manager.js index d3db6567..62affc53 100755 --- a/js/helper-classes/3D/snap-manager.js +++ b/js/helper-classes/3D/snap-manager.js | |||
@@ -109,11 +109,11 @@ var SnapManager = exports.SnapManager = Montage.create(Component, { | |||
109 | popWorkingPlane : { value: function () { workingPlane = this._workingPlaneStack.pop(); return workingPlane; }}, | 109 | popWorkingPlane : { value: function () { workingPlane = this._workingPlaneStack.pop(); return workingPlane; }}, |
110 | 110 | ||
111 | getStageWidth : { value: function () { | 111 | getStageWidth : { value: function () { |
112 | return parseInt(this.currentStage.offsetWidth); | 112 | return this.currentStage.elementModel.getProperty("offsetWidth") || parseInt(this.currentStage.offsetWidth); |
113 | }}, | 113 | }}, |
114 | 114 | ||
115 | getStageHeight : { value: function () { | 115 | getStageHeight : { value: function () { |
116 | return parseInt(this.currentStage.offsetHeight); | 116 | return this.currentStage.elementModel.getProperty("offsetHeight") || parseInt(this.currentStage.offsetHeight); |
117 | }}, | 117 | }}, |
118 | 118 | ||
119 | getStage : { value: function() { return this.currentStage; }}, | 119 | getStage : { value: function() { return this.currentStage; }}, |