Skip to content

Commit

Permalink
Fix copmarison after jshint refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
renatopp committed Oct 3, 2015
1 parent 5f73bd5 commit 6eefd70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/editor/utils/Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
* @protected
*/
p._redraw = function(x1, y1, x2, y2) {
if (!this._inBlock && (x1===null&&y1===null) ||
!this._outBlock && (x2===null&&y2===null)) {
if (! ((this._inBlock||x1||y1) && (this._outBlock||x2||y2)) ) {
return;
}

Expand Down

0 comments on commit 6eefd70

Please sign in to comment.