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:
parent
b7bdaef70f
commit
f5d848321c
12 changed files with 49 additions and 39 deletions
|
|
@ -72,11 +72,7 @@
|
|||
canvas {
|
||||
width:100%;
|
||||
height:100%;
|
||||
opacity: 0;
|
||||
transition: opacity .2s;
|
||||
&.visible {
|
||||
opacity:.8;
|
||||
}
|
||||
opacity: 0.8;
|
||||
}
|
||||
input + canvas {
|
||||
visibility: hidden;
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
--color-knob: var(--color-custom);
|
||||
|
||||
width: 100rem;
|
||||
height: 150rem;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -54,11 +54,6 @@
|
|||
top:0;left:0;
|
||||
width:100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
transition: opacity .2s;
|
||||
&.visible {
|
||||
opacity:1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue