[Editor] Indicate if the highlight-thickness slider is disabled

The fact that the highlight-thickness can only be changed in "free" mode isn't really obvious visually in the toolbar, so attempt to provide at least some indication of the `disabled`-state by "dimming" the slider.
This commit is contained in:
Jonas Jenwald 2024-03-01 16:05:27 +01:00
parent 29c493d36b
commit c7e7122e25

View File

@ -1188,6 +1188,10 @@
--example-color: CanvasText; --example-color: CanvasText;
} }
:is(& > .editorParamsSlider[disabled]) {
opacity: 0.4;
}
&::before { &::before {
content: ""; content: "";
width: 8px; width: 8px;