Skip to content

Commit

Permalink
apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Apr 5, 2023
1 parent bd1435f commit 4fe7ab8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/cache/classes/ContourSet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ export class ContourSet implements IContourSet {
// it will not work for MPR, the reason is that we are finding
// the centroid of all points but at the end we are picking the
// closest point to the centroid, which will not work for MPR
// Thee reason for picking the closest is rendering issue since
// The reason for picking the closest is a rendering issue since
// the centroid can be not exactly in the middle of the slice
// and it might cause the contour to be rendered in the wrong
// and it might cause the contour to be rendered in the wrong slice
// or not rendered at all
_updateContourSetCentroid(): void {
const numberOfPoints = this.getTotalNumberOfPoints();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ addToggleButtonToToolbar({
});

addToggleButtonToToolbar({
title: 'Hide Green Segment',
title: 'Hide Green Segment',
onClick: (toggle) => {
const segmentIndex = 2;
[
Expand Down

0 comments on commit 4fe7ab8

Please sign in to comment.