Skip to content

Commit

Permalink
fix(typo): in the documentation of the mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi authored and finetjul committed Apr 29, 2024
1 parent 9f853f1 commit da04c64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/Rendering/OpenGL/ImageMapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ function vtkOpenGLImageMapper(publicAPI, model) {
// Assuming labelOutlineThicknessArray contains the thickness for each segment
for (let i = 0; i < lWidth; ++i) {
// Retrieve the thickness value for the current segment index.
// If the value is undefined, use the first element's value as a default, otherwise use the value (event if 0)
// If the value is undefined, use the first element's value as a default, otherwise use the value (even if 0)
const thickness =
typeof labelOutlineThicknessArray[i] !== 'undefined'
? labelOutlineThicknessArray[i]
Expand Down
2 changes: 1 addition & 1 deletion Sources/Rendering/OpenGL/VolumeMapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,7 @@ function vtkOpenGLVolumeMapper(publicAPI, model) {
// Assuming labelOutlineThicknessArray contains the thickness for each segment
for (let i = 0; i < lWidth; ++i) {
// Retrieve the thickness value for the current segment index.
// If the value is undefined, use the first element's value as a default, otherwise use the value (event if 0)
// If the value is undefined, use the first element's value as a default, otherwise use the value (even if 0)
const thickness =
typeof labelOutlineThicknessArray[i] !== 'undefined'
? labelOutlineThicknessArray[i]
Expand Down

0 comments on commit da04c64

Please sign in to comment.