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:
parent
16cb9642bd
commit
abaa85e42e
1 changed files with 5 additions and 6 deletions
11
qb.js
11
qb.js
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue