GraphiteEditor / GraphiteEditor/Graphite
Lasso/box selection switching and usage over existing layers
- 主要言語
- Rust
- スター
- 27.2k
- フォーク
- 1.3k
- 平均マージ
- 20時間 5分
- マージ済み PR(30日)
- 57
説明
We want to update dragging and selection such that:
- Ctrl+drag's lasso selection, upon releasing Ctrl, switches to a regular box selection, and back to lasso by holding Ctrl again. It draws a straight line between the cursor position last time the lasso was removed and when it's now restored, allowing the user to also use this as a technique for drawing straight line sections of the lasso, but also just to decide to use box selection instead of lasso at any time.
- Ctrl+dragging an *object* currently drags its layer(s) but we want to make it instead always lasso select. This lets the user perform a lasso selection over an existing layer, or a box selection but releasing Ctrl as in the previous bullet point.
- Lasso selection has a bug that should be fixed: aborting the lasso selection (RMB or Esc) then creating a new lasso selection ends up erroneously extending the previously drawn lasso path because abort fails to clear the lasso data (which also wastes memory!). (#2792)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
この Issue ではファイル、テスト、エントリーポイントが指定されていないため、まず drag、lasso、box-selection、Ctrl、RMB、Esc の処理を追跡してください。完了条件は、Ctrl で lasso と box selection を確実に切り替えられること、既存オブジェクトを Ctrl-dragging したときに layer のドラッグではなく選択が実行されること、そして中断された lasso データが次の選択の前にクリアされることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- design
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100