Skip to content

Commit

Permalink
fix auto detect
Browse files Browse the repository at this point in the history
  • Loading branch information
h1romas4 committed Nov 26, 2023
1 parent bdb8d5b commit e8492cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Roland SH-4d Pattern Chainer</title>
<script type="module" crossorigin src="/sh4d-chain/assets/index-190e9c21.js"></script>
<script type="module" crossorigin src="/sh4d-chain/assets/index-e66d6ee7.js"></script>
<link rel="stylesheet" href="/sh4d-chain/assets/index-a54c6eae.css">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion src/components/MIDISetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function importMIDIDevice(devices, list, model) {
*/
function detectDevice(name, list, model) {
let index = list.value.findIndex(device =>
device.name === name
device.name.startsWith(name)
)
if(index == -1) {
return false
Expand Down

0 comments on commit e8492cc

Please sign in to comment.