fix: make devices inert in the Background editor

Issue: #362
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-08-29 06:39:28 +00:00
committed by claude[bot]
parent f6da1ff57c
commit 5d37438e11
23 changed files with 351 additions and 158 deletions
+6
View File
@@ -2,6 +2,12 @@
## Unreleased
- Device markers in the Background editor are now passive, translucent
landmarks: their core, ring, value capsule and badges no longer hover, open,
actuate or drag, and a drawing or furniture tool receives a press through
the whole visible marker instead of losing that point
([#362](https://github.com/Matysh/houseplan-card/issues/362)).
## v1.69.0-beta.3 — 2026-08-29
- Furniture placement in the Background editor now shows a translucent mouse
+6
View File
@@ -8,6 +8,12 @@
## Не выпущено
- Маркеры устройств в редакторе подложки теперь служат только полупрозрачными
ориентирами: ядро, кольцо, капсула значения и бейджи больше не реагируют на
наведение, не открываются, не выполняют действия и не перетаскиваются, а
инструмент рисования или мебели получает нажатие сквозь всю видимую область
маркера ([#362](https://github.com/Matysh/houseplan-card/issues/362)).
## v1.69.0-beta.3 — 2026-08-29
- При размещении мебели в редакторе подложки мышь теперь показывает на плане
+1 -1
View File
@@ -20,7 +20,7 @@ device state or Home Assistant actions.
| Scale | Corner drag preserves aspect ratio. Hold `Shift` for independent axes. |
| Rotation | 5° steps by default; `Shift` gives free rotation. Lines use endpoint handles instead of a rotation handle. |
| Magnet targets | Only other decor objects and room contours: corners, edge centres, centres and edges. The image, devices and openings are excluded. |
| Context emphasis | Decor and its editing chrome stay fully opaque. Rooms, labels, devices, openings, positive-thickness walls and solid/dashed zero-thickness walls are contextual only and render at 35% opacity. |
| Context emphasis | Decor and its editing chrome stay fully opaque. Rooms, labels, devices, openings, positive-thickness walls and solid/dashed zero-thickness walls are contextual only and render at 35% opacity. The whole device presentation (core, ring, capsule, values and badges) is pointer-inert: it never hovers, opens, acts or drags, and the active Background tool receives a press through it. |
| View composition | All decor kinds form one layer above room/data fills, room hover fill, opening-tunnel fills and Glow base. Live Glow, sun, physical walls, opening symbols, devices and room labels remain above decor. The plan image remains below it. |
| Compatibility | Legacy `width`, text `size/scale` and `plan_scale` remain readable. New writes use `width_cm`, `size_cm` and `plan_scale_x/y`. |