mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix linting in view.js
This commit is contained in:
parent
038d821a7c
commit
08b0838f9a
@ -491,7 +491,7 @@ RED.view = (function() {
|
|||||||
var midX = Math.floor(destX-dx/2);
|
var midX = Math.floor(destX-dx/2);
|
||||||
var midY = Math.floor(destY-dy/2);
|
var midY = Math.floor(destY-dy/2);
|
||||||
//
|
//
|
||||||
if (dy == 0) {
|
if (dy === 0) {
|
||||||
midY = destY + node_height;
|
midY = destY + node_height;
|
||||||
}
|
}
|
||||||
var cp_height = node_height/2;
|
var cp_height = node_height/2;
|
||||||
|
Loading…
Reference in New Issue
Block a user