feat(segmentation): Enhance Segmentation Tools with Preview and Selection Features (#4870)
This commit is contained in:
1 parent
20042f9109
commit
5f112337b6
24 files changed
+392
-236
No files matched your search
@@ -29,6 +29,7 @@ interface HeaderProps {
|
||||
};
|
||||
PatientInfo?: ReactNode;
|
||||
Secondary?: ReactNode;
|
||||
UndoRedo?: ReactNode;
|
||||
}
|
||||
|
||||
function Header({
|
||||
@@ -39,11 +40,10 @@ function Header({
|
||||
isSticky = false,
|
||||
WhiteLabeling,
|
||||
PatientInfo,
|
||||
UndoRedo,
|
||||
Secondary,
|
||||
...props
|
||||
}: HeaderProps): ReactNode {
|
||||
const { t } = useTranslation('Header');
|
||||
|
||||
const onClickReturn = () => {
|
||||
if (isReturnEnabled && onClickReturnButton) {
|
||||
onClickReturnButton();
|
||||
@@ -76,6 +76,8 @@ function Header({
|
||||
<div className="flex items-center justify-center space-x-2">{children}</div>
|
||||
</div>
|
||||
<div className="absolute right-0 top-1/2 flex -translate-y-1/2 select-none items-center">
|
||||
{UndoRedo}
|
||||
<div className="border-primary-dark mx-1.5 h-[25px] border-r"></div>
|
||||
{PatientInfo}
|
||||
<div className="border-primary-dark mx-1.5 h-[25px] border-r"></div>
|
||||
<div className="flex-shrink-0">
|
||||
|
||||
Reference in new issue
Block a user