Skip to content

Commit

Permalink
Fixed track color change
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomolteni committed Jan 26, 2019
1 parent 9e32145 commit 942bf2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/device.tag
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
function convertColorObj(color){
let {r,g,b} = color;
console.log(r);
return {r: scaleColor(r), g: scaleColor(g), b: scaleColor(b)}
return {r: scaleColor(r), g: scaleColor(g), b: scaleColor(b), a: 255}
}

function scaleColor(unscaledNum) {
Expand Down

0 comments on commit 942bf2d

Please sign in to comment.