Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
igoroctaviano committed May 7, 2024
1 parent 7180b09 commit d605404
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/SlideViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class SlideViewer extends React.Component<SlideViewerProps, SlideViewerState> {

private roiStyles: {[key: string]: dmv.viewer.ROIStyleOptions} = {}

private readonly selectionColor: number[] = [140, 184, 198]
private readonly selectionColor: number[] = [140, 184, 198]

private readonly selectedRoiStyle: dmv.viewer.ROIStyleOptions = {
stroke: { color: [...this.selectionColor, 1], width: 3 },
Expand Down Expand Up @@ -1443,7 +1443,7 @@ class SlideViewer extends React.Component<SlideViewerProps, SlideViewerState> {
})
this.setState({
selectedRoiUIDs: new Set([selectedRoi.uid]),
selectedRoi: selectedRoi,
selectedRoi: selectedRoi
})
} else {
this.setState({
Expand All @@ -1455,7 +1455,7 @@ class SlideViewer extends React.Component<SlideViewerProps, SlideViewerState> {

handleRoiSelectionCancellation (): void {
this.setState({
isSelectedRoiModalVisible: false,
isSelectedRoiModalVisible: false
})
}

Expand Down

0 comments on commit d605404

Please sign in to comment.