Clicking on canvas during Inspect with selected node highlights the wrong thing
まだ誰も着手していません。
評価
調査の方向性
翻訳された shape と選択されたリーフノードを使って Inspect ワークフローを再現し、その後、canvas のクリックにおける hit-testing の経路を追跡します。フォーカスされたビューと元のビューで、座標の検索にどの picture が使われているかを比較します。クリックした座標にある shape がフォーカスされた picture 内で選択され、再現ケースが期待どおりに動作すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
To reproduce:
1, Run a program with lots of large translated shapes over most of the screen.
2. Click Inspect.
3. Highlight a leaf node of some kind underneath a translated function, so that the canvas focuses on just that node and draws it at its untranslated location.
4. Click on the canvas.
- Expected behavior: The shape that you clicked on, if any, in the focused picture becomes the new focus.
- Actual behavior: The shape at that coordinate in the original picture becomes the new focus.
Basically, it looks like we're doing hit testing on the wrong picture!
- 主要言語
- Haskell
- スター
- 1.3k
- フォーク
- 201
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/codeworld のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
my solution オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
google/codeworld の issue をすべて見る
似ている issue
-
docs
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
needs triage type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
doclayout-0.6 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
commercialhaskell/stackage#8126 ·