Rename some files
This commit is contained in:
@@ -83,6 +83,7 @@ let sightLine, lockTarget,
|
||||
|
||||
export function create({ x: x1, y: y1 }, { x: x2, y: y2 }) {
|
||||
const line = document.createElementNS(svgns, 'line');
|
||||
sightLine = line;
|
||||
|
||||
line.classList.add('sight-line');
|
||||
line.classList.add(activeClassName);
|
||||
@@ -91,8 +92,6 @@ export function create({ x: x1, y: y1 }, { x: x2, y: y2 }) {
|
||||
line.setAttributeNS(null, 'x2', x2);
|
||||
line.setAttributeNS(null, 'y2', y2);
|
||||
|
||||
sightLine = line;
|
||||
|
||||
return line;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user