aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels')
-rw-r--r--js/panels/objects/object.reel/object.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/panels/objects/object.reel/object.js b/js/panels/objects/object.reel/object.js
index 76f1b5bf..b8bf1b1e 100644
--- a/js/panels/objects/object.reel/object.js
+++ b/js/panels/objects/object.reel/object.js
@@ -75,6 +75,22 @@ exports.Object = Montage.create(Component, {
75 75
76 }, 76 },
77 77
78 /* ---------------------
79 Event Handlers
80 --------------------- */
81
82 handleClick: {
83 value: function(e) {
84 this.parentComponent.parentComponent.displayHUDForObject(this.sourceObject);
85 }
86 },
87
88 prepareForDraw : {
89 value: function() {
90 this.iconElement.addEventListener('click', this, false);
91 }
92 },
93
78 draw : { 94 draw : {
79 value: function() { 95 value: function() {
80 if(this.type) { 96 if(this.type) {