fix(hotkeyBindings): consolidate Escape hotkey behavior for contour drawing tools (#6104)
* fix(hotkeyBindings): consolidate Escape hotkey behavior for contour drawing tools * PR feedback. * PR feedback.
This commit is contained in:
1 parent
b7c8b865dd
commit
661ecb5b2e
12 files changed
+442
-12
No files matched your search
@@ -217,7 +217,10 @@ const renderSelectSetting = option => {
|
||||
key={option.id}
|
||||
>
|
||||
<div className="w-1/3 text-[13px]">{renderLabelWithTooltip(option.name, option.tooltip)}</div>
|
||||
<div className="w-2/3">
|
||||
<div
|
||||
className="w-2/3"
|
||||
data-cy={option.id}
|
||||
>
|
||||
<Select
|
||||
onValueChange={value => option.onChange?.(value)}
|
||||
value={option.value}
|
||||
@@ -230,6 +233,7 @@ const renderSelectSetting = option => {
|
||||
<SelectItem
|
||||
key={value.id}
|
||||
value={value.id}
|
||||
data-cy={value.id}
|
||||
>
|
||||
{value.label}
|
||||
</SelectItem>
|
||||
|
||||
Reference in new issue
Block a user