Skip to content

Commit

Permalink
chore: remove useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
susiwen8 committed Dec 21, 2020
1 parent 22d943f commit 0ab0756
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/component/tooltip/tooltipMarkup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,7 @@ function getTooltipTextStyle(
const valueFontColor = textStyle.color || '#464646';
const valueFontSize = textStyle.fontSize || '14px';
const valueFontWeight = textStyle.fontWeight || '900';
// const fontStyle = textStyleModel.get('fontStyle');
// const fontWeight = textStyleModel.get('fontWeight');
// const fontFamily = textStyleModel.get('fontFamily');
// const lineHeight = textStyleModel.get('lineHeight');
// const width = textStyleModel.get('width');
// const height = textStyleModel.get('height');
// const textBorderColor = textStyleModel.get('textBorderColor');
// const textBorderWidth = textStyleModel.get('textBorderWidth');
// const textShadowColor = textStyleModel.get('textShadowColor');
// const textShadowBlur = textStyleModel.get('textShadowBlur');
// const textShadowOffsetX = textStyleModel.get('textShadowOffsetX');
// const textShadowOffsetY = textStyleModel.get('textShadowOffsetY');
// const overflow = textStyleModel.get('overflow');
// const ellipsis = textStyleModel.get('ellipsis');
// const lineOverflow = textStyleModel.get('lineOverflow');

if (renderMode === 'html') {
return {
nameStyle: `font-size:${nameFontSize};color:${nameFontColor}`,
Expand Down

0 comments on commit 0ab0756

Please sign in to comment.