You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "Ovilia (via GitHub)" <gi...@apache.org> on 2024/01/16 10:27:04 UTC
Re: [PR] fix shadow area in slider [echarts]
Ovilia commented on code in PR #19198:
URL: https://github.com/apache/echarts/pull/19198#discussion_r1453226774
##########
src/chart/heatmap/HeatmapView.ts:
##########
@@ -252,10 +252,10 @@ class HeatmapView extends ChartView {
rect = new graphic.Rect({
shape: {
- x: point[0] - width / 2,
- y: point[1] - height / 2,
- width,
- height
+ x: (point[0] - width / 2) + 2,
Review Comment:
Can you explain what does adding 2 mean?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org