From 5009bc9a9e883bbec293caded0869f7db3881480 Mon Sep 17 00:00:00 2001 From: wurou Date: Fri, 13 Jan 2023 16:57:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BAbrightnessSlider=E6=B7=BB=E5=8A=A0disa?= =?UTF-8?q?bled=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/brightness-slider/style.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/brightness-slider/style.ts b/src/components/brightness-slider/style.ts index 440e166..868b344 100644 --- a/src/components/brightness-slider/style.ts +++ b/src/components/brightness-slider/style.ts @@ -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%;