flutter / flutter/devtools

Flame chart tooltip should be centered over mouse position, not entire widget

未关闭
#1,498 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
flame_chart P3 polish screen: cpu profiler
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

In this screenshot, the mouse is at the far right side of the selected flame chart node. The tooltip should be centered there instead of in the center of the widget.

![Screen Shot 2019-12-27 at 8 53 16 AM](https://user-images.githubusercontent.com/43759233/71525438-8f1d1d00-2886-11ea-8bc5-0a5bb76b544f.png)

This issue looks worse as the flame chart nodes get larger.

贡献指南

打开贡献指南

调研方向

未指定文件或测试。首先复现 flame chart 中 tooltip 的行为,并找到 tooltip 的入口点;当 tooltip 以所选节点的鼠标位置为中心显示时即表示完成,包括节点较大或靠近边缘的情况。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, devtools
领域
frontend, performance
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。