diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 6850a36d..cc0a4701 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -453,12 +453,12 @@ function svg_edit_setup() { } var was_none = false; if (color == 'transparent' || color == 'initial') { - color = new $.jPicker.Color({ hex: 'ffffff', a: 0 }); + color = new $.jPicker.Color({ hex: 'ffffff', a: 100 }); was_none = true; } else { var alpha; if (oldopacity == 'N/A') { - alpha = 0; + alpha = 100; } else { alpha = oldopacity.split(' ')[0]; }