fix(segmentation): remove thresholdRange label in double-range tool settings (#5931)
This commit is contained in:
parent
64fa240dfa
commit
527cfb0ae8
@ -118,25 +118,16 @@ const renderRadioSetting = option => {
|
||||
|
||||
function renderDoubleRangeSetting(option) {
|
||||
return (
|
||||
<div
|
||||
className="flex items-center"
|
||||
<RowDoubleRange
|
||||
key={option.id}
|
||||
>
|
||||
<div className="w-1/3 text-[13px]">
|
||||
{renderLabelWithTooltip(option.name, option.tooltip)}
|
||||
</div>
|
||||
<div className="w-2/3">
|
||||
<RowDoubleRange
|
||||
values={option.value}
|
||||
onChange={option.onChange}
|
||||
minValue={option.min}
|
||||
maxValue={option.max}
|
||||
step={option.step}
|
||||
showLabel={false}
|
||||
tooltip={option.tooltip}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
values={option.value}
|
||||
onChange={option.onChange}
|
||||
minValue={option.min}
|
||||
maxValue={option.max}
|
||||
step={option.step}
|
||||
showLabel={false}
|
||||
tooltip={option.tooltip}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@ -225,9 +216,7 @@ const renderSelectSetting = option => {
|
||||
className="flex items-center"
|
||||
key={option.id}
|
||||
>
|
||||
<div className="w-1/3 text-[13px]">
|
||||
{renderLabelWithTooltip(option.name, option.tooltip)}
|
||||
</div>
|
||||
<div className="w-1/3 text-[13px]">{renderLabelWithTooltip(option.name, option.tooltip)}</div>
|
||||
<div className="w-2/3">
|
||||
<Select
|
||||
onValueChange={value => option.onChange?.(value)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user