Skip to content

Commit 3c524b5

Browse files
committed
fix: adding suggested changes
Co-authored-by: Azalea Colburn <azalea.colburn@autodesk.com>
1 parent e3d3999 commit 3c524b5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

fission/src/ui/panels/configuring/initial-config/InputSchemeSelection.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ const InputSchemeSelection: React.FC<InputSchemeSelectionProps> = ({ brainIndex,
3333

3434
{/** Creates list items with buttons */}
3535
{InputSchemeManager.availableInputSchemes.map(scheme => {
36-
// Skip schemes that use touch controls if the device does not support touch
37-
if (scheme.usesTouchControls && !matchMedia("(hover: none)").matches) {
38-
return null
39-
}
36+
if (scheme.usesTouchControls && !matchMedia("(hover: none)").matches)
37+
return null
38+
4039
return (
4140
<Box
4241
component={"div"}

0 commit comments

Comments
 (0)