diff options
Diffstat (limited to 'js')
-rwxr-xr-x | js/stage/binding-view.reel/binding-view.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/stage/binding-view.reel/binding-view.js b/js/stage/binding-view.reel/binding-view.js index aa690ee6..a4aebd1b 100755 --- a/js/stage/binding-view.reel/binding-view.js +++ b/js/stage/binding-view.reel/binding-view.js | |||
@@ -216,6 +216,7 @@ exports.BindingView = Montage.create(Component, { | |||
216 | if(width === null) width = 1; | 216 | if(width === null) width = 1; |
217 | if (color === null) color = "#CCC"; | 217 | if (color === null) color = "#CCC"; |
218 | this._context.lineWidth = width; // Set Line Thickness | 218 | this._context.lineWidth = width; // Set Line Thickness |
219 | this._context.lineCap = "round"; | ||
219 | this._context.strokeStyle = color; // Set Color | 220 | this._context.strokeStyle = color; // Set Color |
220 | this._context.beginPath(); // Start Drawing Line | 221 | this._context.beginPath(); // Start Drawing Line |
221 | this._context.moveTo(fromX, fromY); | 222 | this._context.moveTo(fromX, fromY); |
@@ -294,7 +295,7 @@ exports.BindingView = Montage.create(Component, { | |||
294 | if(this._isDrawingConnection && !overHud) { | 295 | if(this._isDrawingConnection && !overHud) { |
295 | //NOTE : Continue This content. mouse over select | 296 | //NOTE : Continue This content. mouse over select |
296 | var obj = this.application.ninja.stage.getElement(event, true); | 297 | var obj = this.application.ninja.stage.getElement(event, true); |
297 | if (obj) | 298 | if (obj && obj.controller !== this.selectedComponent) |
298 | { | 299 | { |
299 | if (!obj.controller || obj === null) | 300 | if (!obj.controller || obj === null) |
300 | { | 301 | { |