GraphiteEditor / GraphiteEditor/Graphite
Path tool dragging, then pressing Shift to constrain horiz./vert., should begin from a snapping point
- Lenguaje dominante
- Rust
- Estrellas
- 27.2k
- Forks
- 1.3k
- Merge medio
- 20 h 5 min
- PR fusionados (30 d)
- 57
Descripción
At the beginning of this video, I add Shift to the drag and it correctly performs the horizontal/vertical snapping from its original drag location. But in the second half of the video, I demonstrate a use case where this feature is desired: when the point is dragged such that it snaps over another point, then Shift is pressed at that time, we would like that snapped point to become the source of the horizontal/vertical constraint. Releasing Shift and pressing it again while not snapped should retain its current behavior of constraining relative to the point where the drag began. As shown in the video, this feature would make it very easy to keep the top point aligned to the same X coordinate as the bottom point.
https://github.com/user-attachments/assets/e59f5531-8b8a-4a18-a5ab-520fef992aa8
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza reproduciendo el vídeo adjunto y localizando los puntos de entrada del arrastre y el ajuste del Path tool. Lee cómo las restricciones de Shift eligen su punto de referencia; estará hecho cuando pulsar Shift mientras está ajustado use ese punto ajustado, mientras que las pulsaciones posteriores alejadas de un punto de ajuste sigan usando la ubicación original del arrastre.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- computer-graphics, design
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100