From 6cad028cb721d282ae210ba195df1a8bae722756 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Sun, 13 Dec 2020 04:21:07 +0100 Subject: [PATCH] Move light effects before color picker --- .../more-info/controls/more-info-light.ts | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/dialogs/more-info/controls/more-info-light.ts b/src/dialogs/more-info/controls/more-info-light.ts index 9296454f727c..041e34ace3e6 100644 --- a/src/dialogs/more-info/controls/more-info-light.ts +++ b/src/dialogs/more-info/controls/more-info-light.ts @@ -105,26 +105,6 @@ class MoreInfoLight extends LitElement { > ` : ""} - ${supportsFeature(this.stateObj, SUPPORT_COLOR) - ? html` -
- - - -
- ` - : ""} ${supportsFeature(this.stateObj, SUPPORT_EFFECT) && this.stateObj!.attributes.effect_list?.length ? html` @@ -147,6 +127,26 @@ class MoreInfoLight extends LitElement { ` : ""} + ${supportsFeature(this.stateObj, SUPPORT_COLOR) + ? html` +
+ + + +
+ ` + : ""} ` : ""}