GraphiteEditor / GraphiteEditor/Graphite
Allow avoid merging layers with pen tool
- 主要言語
- Rust
- スター
- 27.2k
- フォーク
- 1.3k
- 平均マージ
- 20時間 5分
- マージ済み PR(30日)
- 57
説明
# Reproduction
When drawing with the pen tool, a user may wish to keep two layers separate. This could be useful for e.g. applying different fills or animations. However if the anchor shares a position with an anchor from another layer, it will always automatically merge.
https://github.com/user-attachments/assets/78a04e27-e7d0-4303-8882-aa034ef2bfe9
# Fix
- Indication when placing the anchor will automatically merge layers (e.g. in the tooltip). It is currently very hard to tell.
- Option to avoid merging the layers even when they have the same anchor position.
# Code
https://github.com/GraphiteEditor/Graphite/blob/cc7d700bfda6961fece0b6125289ef39c9caa0a5/editor/src/messages/tool/tool_messages/pen_tool.rs#L1883-L1900
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
editor/src/messages/tool/tool_messages/pen_tool.rs の1883-1900行付近から始め、ペンツールで使用されているアンカー配置の処理経路を追跡します。マージがどのようにトリガーされるか、またツールチップのフィードバックがどこで定義されているかを確認します。配置によってレイヤーがマージされるタイミングをユーザーが把握でき、同じアンカー位置でレイヤーを分けたままにすることを選択できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- computer-graphics, design
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 68/100