feat: 添加帮助面板
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user