feat: 添加帮助面板

This commit is contained in:
2021-10-06 12:15:58 +08:00
parent cfb73205b1
commit 65a63081fc
11 changed files with 304 additions and 240 deletions
+6
View File
@@ -4,10 +4,16 @@ import { observable } from "mobx";
let globalState = observable({
// 当前选中的符号
selectedNotationKey: null,
// 记录上次选中的符号,之后可恢复焦点
lastSelectedNotationKey: null,
// 当前点击事件是否应该让符号失去焦点。应该在符号自身和菜单等点击事件中将其置为false
shouldNotationBlurAfterClick: true,
// 正在操作的连音线起点
tieSourceKey: null,
// 帮助弹窗是否可见
helpDialogVisible: false,
// 配置项弹窗是否可见
configDialogVisible: false,
});
export default globalState;