feat(tmtv-mode): Add Brush tools and move SUV peak calculation to web worker (#4053)
This commit is contained in:
1 parent
8c5ab942b9
commit
8192e348ec
27 files changed
+593
-212
No files matched your search
@@ -216,6 +216,9 @@ import layoutCommon2x2 from './../../assets/icons/layout-common-2x2.svg';
|
||||
import layoutCommon2x3 from './../../assets/icons/layout-common-2x3.svg';
|
||||
import iconToolRotate from './../../assets/icons/tool-3d-rotate.svg';
|
||||
|
||||
//
|
||||
import tab4D from './../../assets/icons/tab-4d.svg';
|
||||
|
||||
/** New investigational use */
|
||||
import investigationalUse from './../../assets/icons/illustration-investigational-use.svg';
|
||||
|
||||
@@ -426,6 +429,7 @@ const ICONS = {
|
||||
'layout-common-1x2': layoutCommon1x2,
|
||||
'layout-common-2x2': layoutCommon2x2,
|
||||
'layout-common-2x3': layoutCommon2x3,
|
||||
'tab-4d': tab4D,
|
||||
|
||||
/** New investigational use */
|
||||
'illustration-investigational-use': investigationalUse,
|
||||
|
||||
@@ -28,9 +28,12 @@ const SegmentItem = ({
|
||||
|
||||
return (
|
||||
<div
|
||||
className={classnames('text-aqua-pale group/row bg-primary-dark flex min-h-[28px] flex-col', {
|
||||
'bg-primary-light border-primary-light rounded-l-[6px] border text-black': isActive,
|
||||
})}
|
||||
className={classnames(
|
||||
'text-aqua-pale group/row bg-primary-dark flex min-h-[28px] flex-col overflow-hidden',
|
||||
{
|
||||
'bg-primary-light border-primary-light rounded-l-[6px] border text-black': isActive,
|
||||
}
|
||||
)}
|
||||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
onClick(segmentationId, segmentIndex);
|
||||
@@ -151,11 +154,11 @@ const SegmentItem = ({
|
||||
</div>
|
||||
</div>
|
||||
{Array.isArray(displayText) ? (
|
||||
<div className="flex flex-col py-[5px] pl-[43px]">
|
||||
<div className="flex flex-col bg-black py-[5px] pl-[43px]">
|
||||
{displayText.map(text => (
|
||||
<div
|
||||
key={text}
|
||||
className="text-aqua-pale flex h-full items-center bg-black text-[11px]"
|
||||
className="text-aqua-pale flex h-full items-center text-[11px]"
|
||||
>
|
||||
{text}
|
||||
</div>
|
||||
@@ -163,7 +166,7 @@ const SegmentItem = ({
|
||||
</div>
|
||||
) : (
|
||||
displayText && (
|
||||
<div className="text-aqua-pale flex h-full items-center bg-black px-2 py-[5px] pl-[45px] text-[11px]">
|
||||
<div className="text-aqua-pale flex h-full items-center px-2 py-[5px] pl-[45px] text-[11px]">
|
||||
{displayText}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user