widgets/editor: add lock property

This commit is contained in:
jean-emmanuel 2022-02-12 12:16:29 +01:00
parent fb223eb08c
commit 46ba4115af
10 changed files with 59 additions and 4 deletions

View file

@ -17,6 +17,19 @@ osc-panel-container.right.editor-breakout {
--widget-padding: -1rem;
.lock {
osc-inspector-field {
filter: saturate(0);
pointer-events: none;
opacity: 0.65;
}
osc-inspector-field[name=lock] {
filter: none;
pointer-events: auto;
opacity: 1.0;
}
}
}
osc-inspector-field {

View file

@ -112,6 +112,13 @@
// right: -12rem;
// }
}
.fa-lock {
position: relative;
margin-left: 4rem;
top:0;
font-size: 80%;
opacity: 0.8;
}
}