Sebastien Lebreton 5 vuotta sitten
vanhempi
commit
13fe44379a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Playground/js/monacoCreator.js

+ 1 - 1
Playground/js/monacoCreator.js

@@ -122,7 +122,7 @@ class MonacoCreator {
 
         monaco.languages.registerColorProvider(this.monacoMode, {
             provideColorPresentations: (model, colorInfo) => {
-                var color = colorInfo.color;
+                const color = colorInfo.color;
                 
                 const precision = 100.0;
                 const converter = (n) => Math.round(n * precision) / precision;