v0.2.3: visible cross-panel drag ghost, front-image fallback, shorter hint
- Fix invisible device while dragging from front to rear: the block being dragged stayed structurally inside its own source <svg>, so it rendered underneath the other panel once it visually overlapped it. Replaced the in-SVG transform with a free-floating HTML ghost fixed to <body> that tracks the pointer, unaffected by either SVG's own stacking - the original block just dims in place during the drag, as before. - Fix rear elevation showing nothing for a device type with no rear_image: only full-depth devices (which have a genuinely different back) are restricted to their own rear image now; a shallow device (e.g. a PDU) falls back to its front image on the rear view, since that's usually the only picture that exists and is still recognisable either way. - Shorten the drag-hint badge text; the German translation of the previous, longer wording didn't fit well next to the other controls above the elevation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,21 @@
|
||||
# Changelog
|
||||
|
||||
## 0.2.3
|
||||
|
||||
- Fix: dragging a device from front to rear (or back) made it invisible mid-drag - it
|
||||
stayed structurally inside its own source `<svg>`, so it rendered underneath the
|
||||
other panel once it overlapped it instead of over it. Replaced the in-SVG transform
|
||||
with a free-floating HTML "ghost" fixed to `<body>` that tracks the pointer; the
|
||||
original block just dims in place while dragging, exactly like before.
|
||||
- Fix: the rear elevation only ever showed a device type's `rear_image`, leaving
|
||||
shallow devices without one (e.g. PDUs) blank on the rear view even when a perfectly
|
||||
usable `front_image` exists. Full-depth devices are unaffected (their rear view still
|
||||
only shows their own rear image, or nothing - showing the front picture there would
|
||||
be wrong); only non-full-depth devices now fall back to the front image on the rear
|
||||
view.
|
||||
- Shorten the drag-hint badge text above the elevation (the German translation in
|
||||
particular had gotten too long for the badge).
|
||||
|
||||
## 0.2.2
|
||||
|
||||
- Drag-and-drop now supports dragging a device from the front elevation onto the rear
|
||||
|
||||
Reference in New Issue
Block a user