Skip to content

Commit 8926887

Browse files
committed
Don't truncate param
1 parent 7c8619c commit 8926887

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/behaviors/BehaviorBindingPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function validateBinding(
2828
return true;
2929
}
3030

31-
const matchingSet = metadata.find((s) =>
31+
let matchingSet = metadata.find((s) =>
3232
validateValue(layerIds, param1, s.param1)
3333
);
3434

src/keyboard/KeymapBindingChildren.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const getBindingChildren = (
3838
<div key="p2" className="relative text-s">
3939
{param2Display}
4040
</div>,
41-
<div key="p1" className="relative text-xs truncate ml-1 mt-2">
41+
<div key="p1" className="relative text-xs ml-1 mt-2">
4242
{param1Display}
4343
</div>
4444
];

0 commit comments

Comments
 (0)