some optmization
This commit is contained in:
1 parent
822f1aaa39
commit
5dc503916e
2 files changed
+1
-1
No files matched your search
BIN
Binary file not shown.
@@ -267,7 +267,7 @@ export default {
|
||||
...getTextsWidth(ctx, [axisUnit[0] || '']),
|
||||
...getTextsWidth(ctx, horizonAxisTags[1].length ? horizonAxisTags[1] : [''])) + defaultAxisLineTagGap
|
||||
|
||||
!boundaryGap && (rightOffset += xAxisTagsHalfWidth)
|
||||
boundaryGap && (rightOffset += (xAxisTagsHalfWidth + 5))
|
||||
|
||||
this.axisOffset[1] = (ay && ay.offset) || rightOffset
|
||||
|
||||
|
||||
Reference in new issue
Block a user