fix: ellipse should use exponent (#2086)
* fix: prevent app from blowing up when snapshot modal is opened * fix: use superscript tag to indicate ellipse is mm squared * fix: update measurement item to allow us to specify html in MeasurementItem display text
This commit is contained in:
1 parent
285a188064
commit
0b80f19bfd
5 files changed
+27
-17
No files matched your search
@@ -13,7 +13,7 @@ const DEFAULT_SIZE = 512;
|
||||
const MAX_TEXTURE_SIZE = 10000;
|
||||
|
||||
const CornerstoneViewportDownloadForm = ({ onClose, activeViewportIndex }) => {
|
||||
const { enabledElement: activeEnabledElement } = getEnabledElement(
|
||||
const { element: activeEnabledElement } = getEnabledElement(
|
||||
activeViewportIndex
|
||||
);
|
||||
|
||||
|
||||
@@ -385,7 +385,7 @@ function _getDisplayText(
|
||||
const roundedArea = _round(area, 2);
|
||||
|
||||
return [
|
||||
`${roundedArea} ${unit}2 (S:${seriesNumber}, I:${instanceNumber})`,
|
||||
`${roundedArea} ${unit}<sup>2</sup> (S:${seriesNumber}, I:${instanceNumber})`,
|
||||
];
|
||||
}
|
||||
case types.POINT: {
|
||||
|
||||
-1
@@ -382,7 +382,6 @@ function _mapDisplaySets(
|
||||
UIDialogService,
|
||||
UINotificationService
|
||||
) {
|
||||
console.log(displaySets.length);
|
||||
const thumbnailDisplaySets = [];
|
||||
const thumbnailNoImageDisplaySets = [];
|
||||
displaySets.forEach(ds => {
|
||||
|
||||
Reference in new issue
Block a user