canvas widget: change default alpha-fill-on

This commit is contained in:
jean-emmanuel 2021-12-06 14:34:19 +01:00
parent 7b7ed29fbb
commit 4a0ada5c3d
2 changed files with 2 additions and 1 deletions

View file

@ -128,7 +128,7 @@ set("this", value)
// draw property
ctx.fillStyle = cssVars.colorFill
ctx.globalAlpha = cssVars.alphaFill
ctx.globalAlpha = cssVars.alphaFillOn
var sliderWidth = width / value.length - 1
for (var i in value){

View file

@ -131,6 +131,7 @@
.canvas-container {
--alpha-fill-off: 0.05;
--alpha-fill-on: 0.75;
--alpha-fill: var(--alpha-fill-off);
--widget-padding: 0rem;