diff options
author | Eric Guzman | 2012-06-20 12:40:49 -0700 |
---|---|---|
committer | Eric Guzman | 2012-06-20 12:40:49 -0700 |
commit | 8ac2ce1566995c91fe4721df2b121ed6437b9e1c (patch) | |
tree | 5ba6005fd725ad348dd6d9ceb104a9b64c68c102 /js/stage/binding-view.reel/binding-view.js | |
parent | e9783135c3a6c95b7ccc3a6e45f40a030a2a067c (diff) | |
download | ninja-8ac2ce1566995c91fe4721df2b121ed6437b9e1c.tar.gz |
Binding HUD - Show hud for "off stage" objects in tray
Diffstat (limited to 'js/stage/binding-view.reel/binding-view.js')
-rwxr-xr-x | js/stage/binding-view.reel/binding-view.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js index 9bd99176..e2bbb60b 100755 --- a/js/stage/binding-view.reel/binding-view.js +++ b/js/stage/binding-view.reel/binding-view.js | |||
@@ -255,6 +255,14 @@ exports.BindingView = Montage.create(Component, { | |||
255 | value:null | 255 | value:null |
256 | }, | 256 | }, |
257 | 257 | ||
258 | getOffStageIcon : { | ||
259 | value: function(object) { | ||
260 | var index = this.objectsTray.offStageObjectsController.organizedObjects.indexOf(object); | ||
261 | |||
262 | return this.objectsTray.iconsRepetition.childComponents[index]; | ||
263 | } | ||
264 | }, | ||
265 | |||
258 | 266 | ||
259 | // When mouse pointer is on a hud this value will be set to true | 267 | // When mouse pointer is on a hud this value will be set to true |
260 | _mouseOverHud: { value: false }, | 268 | _mouseOverHud: { value: false }, |