GraphiteEditor/Graphite

Box/lasso selection should be compatible with PTZ

Open

#2.391 geöffnet am 7. März 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (1.176 Forks)batch import
Good First IssuePaper Cut

Repository-Metriken

Stars
 (25.662 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 9h) (65 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide