on master help sign in
Avoid extra updates (as recommended by Jeff)
commit251c7d7c2de2ab2787a01594cd8b0d48d0db4c94 authorEvan Czaplicki <info@elm-lang.org> dateFri 16 Aug 2013, 00:00 (13 years ago) parent5fd85cd
1 file changed+2−2
runtime/Render/Utils.js+2−2
runtime/Render/Utils.js+2−2
@@ -14,8 +14,8 @@ function addTo(container, elem) {
1414}
1515
1616function extract(c) {
17− if (c._3 === 1) { return 'rgb(' + c._0 + ',' + c._1 + ',' + c._2 + ')'; }
18− return 'rgba(' + c._0 + ',' + c._1 + ',' + c._2 + ',' + c._3 + ')';
17+ if (c._3 === 1) { return 'rgb(' + c._0 + ', ' + c._1 + ', ' + c._2 + ')'; }
18+ return 'rgba(' + c._0 + ', ' + c._1 + ', ' + c._2 + ', ' + c._3 + ')';
1919}
2020
2121function addTransform(style, trans) {