aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.js2
-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-hud.reel/binding-hud.js b/js/stage/binding-view.reel/binding-hud.reel/binding-hud.js
index dd88bef7..52bc7236 100755
--- a/js/stage/binding-view.reel/binding-hud.reel/binding-hud.js
+++ b/js/stage/binding-view.reel/binding-hud.reel/binding-hud.js
@@ -212,7 +212,7 @@ exports.BindingHud = Montage.create(Component, {
212 212
213 var scrollUpStartX = 5; 213 var scrollUpStartX = 5;
214 var scrollUpEndX = scrollUpStartX + this.titleElement.offsetWidth; 214 var scrollUpEndX = scrollUpStartX + this.titleElement.offsetWidth;
215 var scrollUpStartY = this.titleElement.offsetHeight; 215 var scrollUpStartY = this.titleElement.offsetHeight + 5;
216 var scrollUpEndY = scrollUpStartY + this.scrollUp.offsetHeight; 216 var scrollUpEndY = scrollUpStartY + this.scrollUp.offsetHeight;
217 if(scrollUpStartX < mousePoint.x && (scrollUpEndX) > mousePoint.x) { 217 if(scrollUpStartX < mousePoint.x && (scrollUpEndX) > mousePoint.x) {
218 if(scrollUpStartY < mousePoint.y && (scrollUpEndY) > mousePoint.y) { 218 if(scrollUpStartY < mousePoint.y && (scrollUpEndY) > mousePoint.y) {
diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js
index 505dd074..73d25824 100755
--- a/js/stage/binding-view.reel/binding-view.js
+++ b/js/stage/binding-view.reel/binding-view.js
@@ -183,7 +183,7 @@ exports.BindingView = Montage.create(Component, {
183 this.canvas.height = this.application.ninja.stage.drawingCanvas.offsetHeight; 183 this.canvas.height = this.application.ninja.stage.drawingCanvas.offsetHeight;
184 this.clearCanvas(); 184 this.clearCanvas();
185 for(var i= 0; i < this.hudRepeater.childComponents.length; i++) { 185 for(var i= 0; i < this.hudRepeater.childComponents.length; i++) {
186 this.drawLine(this.hudRepeater.objects[i].element.offsetLeft,this.hudRepeater.objects[i].element.offsetTop, this.hudRepeater.childComponents[i].element.offsetLeft +3, this.hudRepeater.childComponents[i].element.offsetTop +3); 186 this.drawLine(this.hudRepeater.objects[i].element.offsetLeft,this.hudRepeater.objects[i].element.offsetTop, this.hudRepeater.childComponents[i].element.offsetLeft +3, this.hudRepeater.childComponents[i].element.offsetTop +3, "#CCC", 2);
187 } 187 }
188 if(this._isDrawingConnection) { 188 if(this._isDrawingConnection) {
189 if (this.hudRepeater.childComponents.length > 1) { 189 if (this.hudRepeater.childComponents.length > 1) {