fix(editor): no silent move loss, no empty commit, focus kept
- « Toutes les annotations » in the properties panel asks the drawing
guard before it drops a started move (R-12); tests also cover a tool
and « Ajouter un point ».
- A keyboard series back on its place, or a slider pinned at its stop,
commits nothing.
- Escape that deselects from the handle or the slider moves the focus to
the row (or the drawing) instead of losing it.
- A link circle keeps its handle, named « Accès {nom} », with no slider
and no move mode (no label for it in REVUE).
- The move-mode drop notice waits until the body is shown (R-14).
- No layout shift: the strip's lead has a fixed width, the commands and
the message pill get a new box per set or message.
- Doc: hit shapes use pointer-events auto; the fine « − » bubble is
board 05's size.
- Tests: R-14 flip, A5 through the Point tool click, the repair e2e
wrapped in expectNoShift.
This commit is contained in:
1 parent
91e94952f0
commit
44de465c6d
10 files changed
+240
-35
No files matched your search
@@ -159,8 +159,8 @@ overlay in the same transformed container, with the same `viewBox` and
|
||||
`preserveAspectRatio`. It is not `aria-hidden`: each handle is a focusable
|
||||
`role="button"` (`tabindex="0"`) named after what it moves (« Point {nom} » for
|
||||
a point), with a visible focus ring. The layer's root sets
|
||||
`pointer-events: none`; each handle's hit shape sets `pointer-events: all` with
|
||||
a transparent fill and carries `data-handle` (the JSON of its handle
|
||||
`pointer-events: none`; each handle's hit shape turns it back on
|
||||
(`pointer-events: auto`, painted shapes only) with a transparent fill and carries `data-handle` (the JSON of its handle
|
||||
reference), which the press machine reads through `elementsFromPoint`. Handle
|
||||
sizes are constant in CSS px under zoom: the layer divides them by the drawing's
|
||||
px per unit (the box size over the frame, times the zoom). The device size is
|
||||
@@ -169,7 +169,7 @@ read once from `(any-pointer: coarse)`:
|
||||
| Device | Vertex | « + » | « − » bubble | Hit radius |
|
||||
|---|---|---|---|---|
|
||||
| Coarse (finger) | 18 px | 24 px | 44 × 36 px | 22 px |
|
||||
| Fine (mouse, pen) | 12 px | 16 px | none | 10 px |
|
||||
| Fine (mouse, pen) | 12 px | 16 px | board 05 size | 10 px |
|
||||
|
||||
The point handle covers the selected point's own circle (at least the hit
|
||||
radius), so the whole marker can be held. A chosen vertex is drawn bigger,
|
||||
|
||||
Reference in new issue
Block a user