fix(segmentation): remove thresholdRange label in double-range tool settings (#5931)

This commit is contained in:
Ghadeer Albattarni 2026-05-19 14:45:25 -04:00 committed by GitHub
parent 64fa240dfa
commit 527cfb0ae8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,25 +118,16 @@ const renderRadioSetting = option => {
function renderDoubleRangeSetting(option) { function renderDoubleRangeSetting(option) {
return ( return (
<div <RowDoubleRange
className="flex items-center"
key={option.id} key={option.id}
> values={option.value}
<div className="w-1/3 text-[13px]"> onChange={option.onChange}
{renderLabelWithTooltip(option.name, option.tooltip)} minValue={option.min}
</div> maxValue={option.max}
<div className="w-2/3"> step={option.step}
<RowDoubleRange showLabel={false}
values={option.value} tooltip={option.tooltip}
onChange={option.onChange} />
minValue={option.min}
maxValue={option.max}
step={option.step}
showLabel={false}
tooltip={option.tooltip}
/>
</div>
</div>
); );
} }
@ -225,9 +216,7 @@ const renderSelectSetting = option => {
className="flex items-center" className="flex items-center"
key={option.id} key={option.id}
> >
<div className="w-1/3 text-[13px]"> <div className="w-1/3 text-[13px]">{renderLabelWithTooltip(option.name, option.tooltip)}</div>
{renderLabelWithTooltip(option.name, option.tooltip)}
</div>
<div className="w-2/3"> <div className="w-2/3">
<Select <Select
onValueChange={value => option.onChange?.(value)} onValueChange={value => option.onChange?.(value)}