smarter knob sizing & compute widgets' sizes as soon as possible to avoid resize blinking

-> we do that by triggering the global resize event handler when loading a tab / editing a widget
This commit is contained in:
bordun 2016-06-07 22:04:11 +02:00
parent b7bdaef70f
commit f5d848321c
12 changed files with 49 additions and 39 deletions

View file

@ -72,11 +72,7 @@
canvas {
width:100%;
height:100%;
opacity: 0;
transition: opacity .2s;
&.visible {
opacity:.8;
}
opacity: 0.8;
}
input + canvas {
visibility: hidden;

View file

@ -5,6 +5,7 @@
--color-knob: var(--color-custom);
width: 100rem;
height: 150rem;
align-items: center;
flex-shrink: 0;

View file

@ -54,11 +54,6 @@
top:0;left:0;
width:100%;
height: 100%;
opacity: 0;
transition: opacity .2s;
&.visible {
opacity:1;
}
}
}