GraphiteEditor/Graphite

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

Open

#3 771 ouverte le 16 févr. 2026

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Rust (1 176 forks)batch import
Good First Issue

Métriques du dépôt

Stars
 (25 662 stars)
Métriques de merge PR
 (Merge moyen 7j 18h) (37 PRs mergées en 30 j)

Description

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.

Guide contributeur