aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-18 23:09:09 -0700
committerArmen Kesablyan2012-06-18 23:09:09 -0700
commitfe3a9e7990024293b39fac815a7e340a3b21859a (patch)
tree3724bf5fd9a4fa51a10a882f923d25df0c8e3937
parent00eb09a626293cb55554e2a8eb7df9a8953b1251 (diff)
downloadninja-fe3a9e7990024293b39fac815a7e340a3b21859a.tar.gz
Latest Changes Visual Binding Starting
Signed-off-by: Armen Kesablyan <armen@motorola.com>
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.css2
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/stage/binding-view.reel/binding-view.css b/js/stage/binding-view.reel/binding-view.css
index 0365f52d..d5915bce 100755
--- a/js/stage/binding-view.reel/binding-view.css
+++ b/js/stage/binding-view.reel/binding-view.css
@@ -27,7 +27,7 @@
27} 27}
28 28
29.objects-tray-container { 29.objects-tray-container {
30 bottom: 10px; 30 bottom:0;
31 position: absolute; 31 position: absolute;
32 width: 100%; 32 width: 100%;
33 display: -webkit-box; 33 display: -webkit-box;
diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js
index 0a663a4e..d2f653fa 100755
--- a/js/stage/binding-view.reel/binding-view.js
+++ b/js/stage/binding-view.reel/binding-view.js
@@ -342,7 +342,7 @@ exports.BindingView = Montage.create(Component, {
342// var nodeEl = new webkitConvertPointFromPageToNode(this.element, mouseUpPoint); 342// var nodeEl = new webkitConvertPointFromPageToNode(this.element, mouseUpPoint);
343 this.element.style.zIndex = "12"; 343 this.element.style.zIndex = "12";
344 var nodeEl = document.elementFromPoint(e.pageX, e.pageY); 344 var nodeEl = document.elementFromPoint(e.pageX, e.pageY);
345 console.log(nodeEl); 345 alert(nodeEl.parentElement.controller.title);
346 this.element.style.zIndex = null; 346 this.element.style.zIndex = null;
347 this._isDrawingConnection = false; 347 this._isDrawingConnection = false;
348 this.needsDraw = true; 348 this.needsDraw = true;