aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/tools-list.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-29 15:32:47 -0700
committerValerio Virgillito2012-05-29 15:32:47 -0700
commit5d7dff15e1e603e3b37057b9843e4b1eef1b2dca (patch)
tree25c2a5a1b4a273fc32a555cf662b6963a5770885 /js/components/layout/tools-list.reel
parent4fa08fe2ce439a5f5c248c568f72d3828ee11b36 (diff)
downloadninja-5d7dff15e1e603e3b37057b9843e4b1eef1b2dca.tar.gz
cleanup and handling the document views in the document controller for now.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/layout/tools-list.reel')
-rwxr-xr-xjs/components/layout/tools-list.reel/tools-list.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/components/layout/tools-list.reel/tools-list.js b/js/components/layout/tools-list.reel/tools-list.js
index 638aea41..c46c065e 100755
--- a/js/components/layout/tools-list.reel/tools-list.js
+++ b/js/components/layout/tools-list.reel/tools-list.js
@@ -64,18 +64,9 @@ exports.ToolsList = Montage.create(Component, {
64 } 64 }
65 }, 65 },
66 66
67 handleCloseDocument: {
68 value: function(){
69 if(!this.application.ninja.documentController.activeDocument) {
70 this.disabled = true;
71 }
72 }
73 },
74
75 prepareForDraw: { 67 prepareForDraw: {
76 enumerable: false, 68 enumerable: false,
77 value: function() { 69 value: function() {
78 this.eventManager.addEventListener( "closeDocument", this, false);
79 this.PenTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties;//this.application.Ninja.toolsProperties.penProperties; 70 this.PenTool.options = this.application.ninja.toolsProperties.shapeProperties.lineProperties;//this.application.Ninja.toolsProperties.penProperties;
80 71
81 this.SelectionTool.options = this.application.ninja.toolsProperties.selectionProperties; 72 this.SelectionTool.options = this.application.ninja.toolsProperties.selectionProperties;