Lint fixes

This commit is contained in:
Christopher Willis-Ford
2017-09-06 15:23:28 -06:00
parent 1487f79f58
commit 49f7b06dbe
2 changed files with 2 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ class PenSkin extends Skin {
const r = Math.round(color4f[0] * 255);
const g = Math.round(color4f[1] * 255);
const b = Math.round(color4f[2] * 255);
const a = color4f[3]; // Alpha is 0 to 1 (not 0 to 255 like r,g,b)
const a = color4f[3]; // Alpha is 0 to 1 (not 0 to 255 like r,g,b)
context.strokeStyle = `rgba(${r},${g},${b},${a})`;
context.lineCap = 'round';