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: group tooltip render properly with xAxis pointOnColumn option #260
Conversation
src/js/components/mouseEventDetectors/groupTypeEventDetector.js
Outdated
Show resolved
Hide resolved
@@ -333,7 +334,7 @@ class GroupTooltip extends TooltipBase { | |||
height | |||
}, | |||
position: { | |||
left: range.start, | |||
left: range.start + this.tickInterval / 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
연산자 우선순위가 다르긴 하지만 수식인 경우 괄호를 넣는게 어떨까요~?
추후 수정에서 있을 지 모를 혼동을 막는게 좋으니까요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@junghwan-park 괄호 작성시 prettier에서 제거됩니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
앗.. 그랬군요 ㅎㅎ 그럼 어쩔 수 없네요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리뷰 완료했습니다~!
src/js/components/mouseEventDetectors/groupTypeEventDetector.js
Outdated
Show resolved
Hide resolved
src/js/components/mouseEventDetectors/groupTypeEventDetector.js
Outdated
Show resolved
Hide resolved
리뷰완료했습니다. 수고하셨습니다 |
Please check if the PR fulfills these requirements
fix #xxx[,#xxx]
, where "xxx" is the issue number)Description
pointOnColumn
and tooltipgrouped
properties at the same time, the tooltip alignment line and point are not aligned as above.Thank you for your contribution to TOAST UI product. 🎉 😘 ✨