From ca4d088a282ffae286ea32f8d50d552bfdbf1a56 Mon Sep 17 00:00:00 2001 From: JB Date: Sat, 4 Jul 2026 00:00:13 +0300 Subject: [PATCH] ux v1.2.1: no icon scaling on hover/drag --- custom_components/houseplan/frontend/houseplan-card.js | 1 - dist/houseplan-card.js | 1 - package.json | 2 +- src/houseplan-card.ts | 3 +-- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/custom_components/houseplan/frontend/houseplan-card.js b/custom_components/houseplan/frontend/houseplan-card.js index 990547a..4cf4946 100755 --- a/custom_components/houseplan/frontend/houseplan-card.js +++ b/custom_components/houseplan/frontend/houseplan-card.js @@ -252,7 +252,6 @@ const I=globalThis,M=I.ShadowRoot&&(void 0===I.ShadyCSS||I.ShadyCSS.nativeShadow .dev:hover { background: var(--hp-accent); color: var(--text-primary-color, #fff); - transform: scale(1.35); z-index: 5; } .dev.on { diff --git a/dist/houseplan-card.js b/dist/houseplan-card.js index 990547a..4cf4946 100755 --- a/dist/houseplan-card.js +++ b/dist/houseplan-card.js @@ -252,7 +252,6 @@ const I=globalThis,M=I.ShadowRoot&&(void 0===I.ShadyCSS||I.ShadyCSS.nativeShadow .dev:hover { background: var(--hp-accent); color: var(--text-primary-color, #fff); - transform: scale(1.35); z-index: 5; } .dev.on { diff --git a/package.json b/package.json index ce4fa54..f9202f0 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "houseplan-card", - "version": "1.2.0", + "version": "1.2.1", "description": "Interactive house plan Lovelace card for Home Assistant (dacha Kirillovskoe)", "license": "MIT", "type": "module", diff --git a/src/houseplan-card.ts b/src/houseplan-card.ts index 50ac437..2a37cf9 100755 --- a/src/houseplan-card.ts +++ b/src/houseplan-card.ts @@ -9,7 +9,7 @@ import { FLOOR_BG, FLOOR_BG_RECT } from './data/backgrounds'; import { EXCLUDED_DOMAINS, GROUP_TITLES, iconFor, DOMAIN_PRIORITY } from './rules'; import './editor'; -const CARD_VERSION = '1.2.0'; +const CARD_VERSION = '1.2.1'; const LS_KEY = 'houseplan_card_layout_v1'; interface DevItem { @@ -810,7 +810,6 @@ class HouseplanCard extends LitElement { .dev:hover { background: var(--hp-accent); color: var(--text-primary-color, #fff); - transform: scale(1.35); z-index: 5; } .dev.on {