feat: 添加括号符号
This commit is contained in:
@@ -130,6 +130,12 @@ const handleKeyPress = wrappedAction((ev) => {
|
||||
case isNote(inputKey) && !ctrl && !shift:
|
||||
notation.note = inputKey;
|
||||
break;
|
||||
case inputKey === "(" && !ctrl:
|
||||
notation.note = N.crackerOpen;
|
||||
break;
|
||||
case inputKey === ")" && !ctrl:
|
||||
notation.note = N.crackerClose;
|
||||
break;
|
||||
case inputKey === "-" && !ctrl && !shift:
|
||||
notation.note = N.extend;
|
||||
break;
|
||||
|
||||
@@ -11,6 +11,8 @@ const notations = {
|
||||
si: "7",
|
||||
extend: "─",
|
||||
separator: "│",
|
||||
crackerOpen: "(",
|
||||
crackerClose: ")"
|
||||
};
|
||||
const notes = [
|
||||
notations.zero,
|
||||
|
||||
Reference in New Issue
Block a user