mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 01:58:12 +08:00
Rename EditorHandle -> EditorWrapper and organize editor_api.rs (#3925)
* Rename EditorHandle -> EditorWrapper and organize editor_api.rs * pub -> pub(crate)
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
import ShortcutLabel from "/src/components/widgets/labels/ShortcutLabel.svelte";
|
||||
import TextLabel from "/src/components/widgets/labels/TextLabel.svelte";
|
||||
import type { TooltipStore } from "/src/stores/tooltip";
|
||||
import type { EditorHandle, LabeledShortcut } from "/wasm/pkg/graphite_wasm";
|
||||
import type { EditorWrapper, LabeledShortcut } from "/wasm/pkg/graphite_wasm";
|
||||
|
||||
const tooltip = getContext<TooltipStore>("tooltip");
|
||||
const editor = getContext<EditorHandle>("editor");
|
||||
const editor = getContext<EditorWrapper>("editor");
|
||||
|
||||
let self: FloatingMenu | undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user