GraphiteEditor / GraphiteEditor/Graphite
Box/lasso selection should be compatible with PTZ
- Lenguaje dominante
- Rust
- Estrellas
- 27.2k
- Forks
- 1.3k
- Merge medio
- 20 h 5 min
- PR fusionados (30 d)
- 57
Descripción
Box selection with the Select tool and Path tool doesn't follow the canvas when panning (via the mouse vertical/horizontal scroll wheel) or zooming (with Ctrl + or Ctrl -). The starting point of the rectangle should be locked down to the canvas location, not follow the viewport. This works correctly with the auto-panning feature (dragging the box selection off the edges of the viewport), so that code can be referenced. The actual box selection must still be rounded to viewport coordinates so the box selection is drawn cleanly (without fuzzy antialiasing). The video below shows the incorrect present behavior.
https://github.com/user-attachments/assets/6687128d-0123-4feb-bd10-88c36440971d
Discussion in this Discord thread: https://discord.com/channels/731730685944922173/1321358747133677599
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start with the Select tool and Path tool box-selection behavior, then reproduce the issue while panning with the mouse scroll wheel and zooming with Ctrl + or Ctrl -. Use the existing auto-panning behavior as the reference. Done means the rectangle's starting point remains locked to its canvas location while the selection stays rounded to viewport coordinates for clean rendering.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- computer-graphics, frontend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100