1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-09-20 04:24:45 +00:00

Removed unneeded dummy variable.

This commit is contained in:
William Barnes 2022-06-09 14:24:30 -04:00
parent 16cb9642bd
commit abaa85e42e

11
qb.js
View file

@ -1287,14 +1287,13 @@ var QB = new function() {
ctx.lineWidth = _strokeLineThickness; ctx.lineWidth = _strokeLineThickness;
ctx.fillStyle = color.rgba(); ctx.fillStyle = color.rgba();
ctx.beginPath(); ctx.beginPath();
var nullDummy;
if (style == "B") { if (style == "B") {
nullDummy = lineStyle(sx, sy, ex, sy, value); lineStyle(sx, sy, ex, sy, value);
nullDummy = lineStyle(ex, sy, ex, ey, value); lineStyle(ex, sy, ex, ey, value);
nullDummy = lineStyle(ex, ey, sx, ey, value); lineStyle(ex, ey, sx, ey, value);
nullDummy = lineStyle(sx, ey, sx, sy, value); lineStyle(sx, ey, sx, sy, value);
} else { } else {
nullDummy = lineStyle(sx, sy, ex, ey, value); lineStyle(sx, sy, ex, ey, value);
} }
} }