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
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="22px" height="22px" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>tab-4d</title>
|
||||
<g id="tab-4d" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="Group" transform="translate(1, 1)" stroke="currentColor">
|
||||
<rect id="Rectangle" x="0" y="0" width="20" height="20" rx="2"></rect>
|
||||
<g id="Group-3" transform="translate(4, 5)" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M6.9072464,0.398231009 C9.3565092,0.398231009 11.342029,2.38375081 11.342029,4.83301362 C11.342029,7.28227642 9.3565092,9.26779623 6.9072464,9.26779623 L6.9072464,0.398231009 Z" id="Path"></path>
|
||||
<polyline id="Path-2" points="3.27497101 4.83301362 0 4.83301362 3.62401581 0 3.62401581 4.87475204 3.62401581 9.26779623"></polyline>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 970 B |
@@ -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