-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: 修复开启自定义指标层级后, 角头数值文本未对齐 close #2957 #2966
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: -1 B (0%) Total Size: 336 kB
ℹ️ View Unchanged
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2966 +/- ##
==========================================
+ Coverage 75.77% 80.68% +4.91%
==========================================
Files 257 179 -78
Lines 11994 10437 -1557
Branches 2464 2375 -89
==========================================
- Hits 9088 8421 -667
+ Misses 1398 562 -836
+ Partials 1508 1454 -54 ☔ View full report in Codecov by Sentry. |
🎉 This PR is included in version @antv/s2-v2.0.0-next.32 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version @antv/s2-react-components-v1.1.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
👀 PR includes
🐛 Bugfix
cornerCell
的measureText.textBaseline
和其它 cell 的measureText.textBaseline
默认值不一样 #2957📝 Description
开启
customValueOrder
后, 角头存在虚拟数值
单元格, 由于缺失相关主题配置, 导致文本未垂直居中S2/packages/s2-core/src/cell/header-cell.ts
Lines 402 to 404 in c837efe
🖼️ Screenshot
🔗 Related issue link
🔍 Self-Check before the merge