aboutsummaryrefslogtreecommitdiff
path: root/js/stage/stage.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/stage/stage.reel')
-rwxr-xr-xjs/stage/stage.reel/stage.html3
-rwxr-xr-xjs/stage/stage.reel/stage.js8
2 files changed, 8 insertions, 3 deletions
diff --git a/js/stage/stage.reel/stage.html b/js/stage/stage.reel/stage.html
index 88cd6149..30c3d231 100755
--- a/js/stage/stage.reel/stage.html
+++ b/js/stage/stage.reel/stage.html
@@ -22,9 +22,6 @@
22 "prototype": "js/stage/stage-deps", 22 "prototype": "js/stage/stage-deps",
23 "properties": { 23 "properties": {
24 "stage": {"@": "owner"} 24 "stage": {"@": "owner"}
25 },
26 "bindings": {
27 "currentDocument": {"<-": "@owner.activeDocument"}
28 } 25 }
29 }, 26 },
30 27
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index cac99326..8da89fb9 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -593,6 +593,14 @@ exports.Stage = Montage.create(Component, {
593 } 593 }
594 }, 594 },
595 595
596 clearAllCanvas: {
597 value: function() {
598 this._drawingContext.clearRect(0, 0, this._drawingCanvas.width, this._drawingCanvas.height);
599 this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);
600 this.layout.clearCanvas();
601 }
602 },
603
596 SelectTool: { 604 SelectTool: {
597 value: function(cursor) { 605 value: function(cursor) {
598 this._drawingCanvas.style.cursor = cursor; 606 this._drawingCanvas.style.cursor = cursor;