Skip to content

Commit 5c9adbb

Browse files
authored
sound-editor.jsx -- add extra warning + flip bool
1 parent 3b12df9 commit 5c9adbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/containers/sound-editor.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ class SoundEditor extends React.Component {
587587
vNumber.oninput = vNumber.onchange;
588588
}
589589

590-
function handleFormatMenu() {
590+
handleFormatMenu() {
591591
const genTitle = (text) => {
592592
const label = document.createElement("div");
593593
label.style = "font-weight: 500;font-size: 14px;margin-bottom: 5px;";
@@ -664,7 +664,7 @@ class SoundEditor extends React.Component {
664664
checkable.firstChild.checked = false;
665665
}
666666
div.firstChild.checked = true;
667-
selectedForceRate = div.id === "1";
667+
selectedForceRate = div.id == "1";
668668
e.stopPropagation();
669669
});
670670
menu.textarea.append(rateTitle, warningDiv, genTitle("Apply to:"), applicatorDiv, warningDiv2);

0 commit comments

Comments
 (0)