GraphiteEditor / GraphiteEditor/Graphite

Edge case where moving layers between groups changes the location, rotation or scale on the canvas

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

説明

Recently I've spent more time working in Graphite and I want to make a point about one of the current design decisions.

Individual layers have their transforms set relative to parent node transforms. When such layer is moved outside of the parent into a different location in the nodegraph it changes its position on the canvas. It is really frustrating to work around this mechanic, and I believe many people will have similar opinion, especially those that come from other 2D apps.

Two solutions that might work here:
- make every layer have its transforms as absolute values relative to canvas origin (0,0)
- recalculate transforms when the layer is moved into a different place in the nodegraph so it's location, rotation and scale does not change

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

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

調査の方向性

ファイルもテストも指定されていません。まず、レイヤーの変換が親ノードに対してどのように保存されているか、またレイヤーを nodegraph グループ間で移動する処理がどのように行われているかを追跡してください。レイヤーを移動してもキャンバス上の位置、回転、スケールが維持されれば完了です。

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

評価

技術スタック
rust
領域
computer-graphics
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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