Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrokohler committed Nov 22, 2024
1 parent bea4b83 commit f4a5732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4486,7 +4486,7 @@ class VolumeImageViewer {
*
* @param {Object} segment - The segment for which to show the overlay
*/
addOverlay(segment) {
addOverlay (segment) {
let title = segment.segment.propertyType.CodeMeaning
const padding = Math.round((16 - title.length) / 2)
title = title.padStart(title.length + padding)
Expand Down Expand Up @@ -4554,8 +4554,8 @@ class VolumeImageViewer {
segment.layer.setOpacity(styleOptions.opacity)
}

if(segment.segmentationType === 'FRACTIONAL'){
this.addOverlay(segment);
if (segment.segmentationType === 'FRACTIONAL') {
this.addOverlay(segment)
}
}

Expand Down

0 comments on commit f4a5732

Please sign in to comment.