mirror of
https://github.com/mtkennerly/bosca-ceoil-js.git
synced 2024-12-22 22:12:22 +01:00
Fix swing parsing
This commit is contained in:
parent
716982f579
commit
5547d67208
@ -494,7 +494,7 @@ class MetaWorkspace extends React.Component<{ activeChannel: number, activePatte
|
|||||||
value={song.meta.swing}
|
value={song.meta.swing}
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
onChange={e => {
|
onChange={e => {
|
||||||
const value = parseInt(e.currentTarget.value);
|
const value = parseFloat(e.currentTarget.value);
|
||||||
if (isNaN(value)) {
|
if (isNaN(value)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user