GraphiteEditor / GraphiteEditor/Graphite

Box/lasso selection should be compatible with PTZ

オープン
#2,391 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Good First Issue Paper Cut
主要言語
Rust
スター
27.2k
フォーク
1.3k
平均マージ
20時間 5分
マージ済み PR(30日)
57

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
computer-graphics, frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。