docs(docs): editor overlay creation ghost, point preview, dimming

The creation moves onto the drawing (U2 Task 7): the point tool's
hover preview, the ghost in the form's category colour on a white
halo, and data-creating dimming the other markers (A2, A4, A12).
This commit is contained in:
bchanot committed 2026-11-17 22:55:14 +01:00
1 parent 9a0fe3784c
commit 87528303a1
1 file changed
+22
+22
View File
@@ -204,6 +204,28 @@ Marks of a gesture in progress, drawn by the overlay:
stored outline in grey dashes stays until the new tracing closes, without
vertices or handles; the new tracing is drawn as any tracing.
A creation (U2 Task 7, A2, A4, A12) is drawn by the overlay too, never by the
core, since the new shape is not in the document until « Créer »:
- the point tool's preview: with a mouse (touch has no hover), a dashed accent
circle at the size the strip chose for the next point, with a small cross at
its centre, follows the pointer over the drawing;
- the open tracing of a new zone or link: the accent dashed polyline and its
vertex circles;
- the ghost, the placed point or the closed tracing waiting for its properties:
filled with the colour of the category the form holds (0.45 opacity), so a
category change recolours it at once (A4), drawn with a white halo (a wider
white stroke under it) and an accent dashed outline over the halo. It stays
visible under the creation dialog's light veil;
- the corrected position of a point (C26): the proposal in accent dashes and
the click marked apart by a hollow cross.
While a creation is in progress the canvas box carries `data-creating`. The
stylesheet then dims every core marker (`[data-anno-id]` at 0.35 opacity, no
hover brightening, the crosshair cursor) so the other annotations read as
unselectable (A12); the core's drawing and markers are left untouched, only
their presentation changes. The attribute goes with the creation.
The overlay only proposes geometry. Whether a position, a radius or a polygon
is acceptable (frame, minimum visible size, interior) is the core's verdict on
the candidate document; the page keeps no copy of those rules.