-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(viewer): add className to handle cursor style
- Loading branch information
1 parent
48b63fd
commit 4f13040
Showing
21 changed files
with
310 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
libs/insight-viewer/src/Viewer/CircleDrawer/CircleDrawer.types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { EditMode, CircleMeasurement } from '../../types' | ||
import type { EditMode, CircleMeasurement, CursorStatus } from '../../types' | ||
|
||
export interface CircleDrawerProps { | ||
isSelectedMode: boolean | ||
measurement: CircleMeasurement | ||
setMeasurementEditMode: (targetPoint: EditMode) => void | ||
cursorStatus: CursorStatus | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
libs/insight-viewer/src/Viewer/RulerDrawer/RulerDrawer.types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { EditMode, RulerMeasurement } from '../../types' | ||
import type { CursorStatus, EditMode, RulerMeasurement } from '../../types' | ||
|
||
export interface RulerDrawerProps { | ||
isSelectedMode: boolean | ||
measurement: RulerMeasurement | ||
setMeasurementEditMode: (targetPoint: EditMode) => void | ||
cursorStatus: CursorStatus | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import { EditMode, TextAnnotation } from '../../types' | ||
import type { CursorStatus, EditMode, TextAnnotation } from '../../types' | ||
|
||
export interface TextDrawerProps { | ||
annotation: TextAnnotation | ||
isSelectedMode: boolean | ||
cursorStatus: CursorStatus | ||
setAnnotationEditMode: (mode: EditMode) => void | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.