let > const

This commit is contained in:
Mikael Sand
2019-02-03 04:07:29 +02:00
parent 0f0a43f842
commit 1be9188eb7
+1 -1
View File
@@ -423,7 +423,7 @@ export default function extractColor(color) {
const b = parsedColor[2];
const a = parsedColor[3];
let int32Color =
const int32Color =
((a === undefined ? 0xff000000 : Math.round(a * 255) << 24) |
(Math.round(r * 255) << 16) |
(Math.round(g * 255) << 8) |