Loading editor/html/js/properties.js +0 −1 Changes for editor/html/js/properties.js: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -193,7 +193,6 @@ var PropertiesPanel = (function() { function _hexAlphaToString(hex, alpha) { var r = parseInt(hex.slice(1,3), 16), g = parseInt(hex.slice(3,5), 16), b = parseInt(hex.slice(5,7), 16); if (alpha >= 100) return 'rgb(' + r + ', ' + g + ', ' + b + ')'; return 'rgba(' + r + ', ' + g + ', ' + b + ', ' + (alpha / 100).toFixed(2) + ')'; } Loading Loading
editor/html/js/properties.js +0 −1 Changes for editor/html/js/properties.js: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -193,7 +193,6 @@ var PropertiesPanel = (function() { function _hexAlphaToString(hex, alpha) { var r = parseInt(hex.slice(1,3), 16), g = parseInt(hex.slice(3,5), 16), b = parseInt(hex.slice(5,7), 16); if (alpha >= 100) return 'rgb(' + r + ', ' + g + ', ' + b + ')'; return 'rgba(' + r + ', ' + g + ', ' + b + ', ' + (alpha / 100).toFixed(2) + ')'; } Loading