Commit caefcc42 authored by jan.koester's avatar jan.koester
Browse files

test

parent 99e0a772
Loading
Loading
Loading
Loading
+0 −1
Changes for editor/html/js/properties.js: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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) + ')';
    }