GraphiteEditor/Graphite

Line tool needs Ctrl to lock angle only after drag has begun

Open

#3771 aperta il 16 feb 2026

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Rust (1176 fork)batch import
Good First Issue

Metriche repository

Star
 (25.662 star)
Metriche merge PR
 (Merge medio 7g 18h) (37 PR mergiate in 30 g)

Descrizione

Ctrl is the shortcut for the Line tool to lock the current angle. But currently, it takes effect if Ctrl is held before the click and drag for drawing a new line, which is not desired, because Ctrl is also used to allow drawing a new line snapped to the endpoint of an existing line (rather than dragging around that endpoint). Ctrl should only lock the line's angle if it is pressed after the dragging is already occurring, whether that's for a new line or for dragging the endpoint of an existing line.

Guida contributor