widgets: continue sliders oop + canvas reimplementation, knobs almost ok, added origin and angle option

This commit is contained in:
jean-emmanuel 2016-09-19 10:03:08 +02:00
parent 36d5944ce0
commit 4def266315
7 changed files with 664 additions and 358 deletions

View file

@ -1,3 +1,27 @@
.knob {
height:100%;
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
.wrapper {
overflow: hidden;
flex:1;
display: flex;
max-height: 100%;
width: 100%;
position: relative;
canvas {
flex:1;
max-height: 100%;
width: 100%;
position: relative;
}
}
}
.knob-container {
--color-pips: var(--color-text-fade);
--color-gauge: var(--color-custom);