为brightnessSlider添加disabled属性

This commit is contained in:
wurou 2023-01-13 16:57:23 +08:00
parent ae66a39b83
commit 5009bc9a9e
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ export const sharedStyles: CSSResult = css`
border-radius: var(--auto-16px);
}
:host([disabled='true']) {
pointer-events: none;
}
.progress {
width: var(--cover-length);
height: 100%;