Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/component/legend/ScrollableLegendView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ class ScrollableLegendView extends LegendView {
// Strategy:
// (1) Always align based on the left/top most item.
// (2) It is user-friendly that the last item shown in the
// current window is shown at the begining of next window.
// current window is shown at the beginning of next window.
// Otherwise if half of the last item is cut by the window,
// it will have no chance to display entirely.
// (3) Consider that item size probably be different, we
Expand Down
2 changes: 1 addition & 1 deletion src/coord/matrix/MatrixBodyCorner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface MatrixBodyCornerCell {
option: MatrixBodyCornerCellOption | NullUndefined;
// `matrix.body/corner.data[i].coord` can locate a rect of cells (say, area).
// `inSpanOf` refers to the top-left cell, which represents that area.
// The top-left cell has `inSpanOf` refering to itself.
// The top-left cell has `inSpanOf` referring to itself.
inSpanOf: MatrixBodyCornerCell | NullUndefined;
// If existing, it indicates cell merging, and this cell is the top-left cell
// of the merging area.
Expand Down
2 changes: 1 addition & 1 deletion src/util/graphic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ function doUpdateZ(
label.z = z;
label.zlevel = zlevel;
// lift z2 of text content
// TODO if el.emphasis.z2 is spcefied, what about textContent.
// TODO if el.emphasis.z2 is specified, what about textContent.
isFinite(maxZ2) && (label.z2 = maxZ2 + 2);
}
if (labelLine) {
Expand Down