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) {
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)}