pads: inherit from canvas base class and xy: cancel faders drawing, use a dedicated, simple draw

This commit is contained in:
jean-emmanuel 2016-10-20 18:51:02 +02:00
parent 5acb8414c8
commit ea56f48388
4 changed files with 49 additions and 13 deletions

View file

@ -15,18 +15,17 @@
height: 100%;
width: 100%;
background:var(--color-faded);
> canvas {
width:100%;
height:100%;
position: absolute;
}
.fader {
--color-gauge:transparent;
--color-pips: var(--color-text-fade);
--color-knob: var(--color-custom);
pointer-events: none;
position: absolute;
width:100%;
height:100%;
opacity: 0.5;
.wrapper canvas {
background:transparent;
}
opacity: 0;
.input {
display: none;
}