mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 13:38:12 +08:00
Standardize FrontendMessage message names
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { reactive, readonly } from "vue";
|
||||
|
||||
import { DisplayAboutGraphiteDialog } from "@/dispatcher/js-messages";
|
||||
import { DisplayDialogAboutGraphite } from "@/dispatcher/js-messages";
|
||||
import { EditorState } from "@/state/wasm-loader";
|
||||
import { IconName } from "@/utilities/icons";
|
||||
import { stripIndents } from "@/utilities/strip-indents";
|
||||
@@ -106,7 +106,7 @@ export function createDialogState(editor: EditorState) {
|
||||
};
|
||||
|
||||
// Run on creation
|
||||
editor.dispatcher.subscribeJsMessage(DisplayAboutGraphiteDialog, () => onAboutHandler());
|
||||
editor.dispatcher.subscribeJsMessage(DisplayDialogAboutGraphite, () => onAboutHandler());
|
||||
|
||||
return {
|
||||
state: readonly(state),
|
||||
|
||||
Reference in New Issue
Block a user