diff options
| author | ljungster <parkerljung@gmail.com> | 2022-03-17 16:49:13 -0400 |
|---|---|---|
| committer | ljungster <parkerljung@gmail.com> | 2022-03-17 16:49:13 -0400 |
| commit | 87ecbf85db2e1d51c0bab92154500548942fac22 (patch) | |
| tree | 6383d335e3d6a389ae0fb83be535aaa5afb0fbfd /src/fields/InkField.ts | |
| parent | 3d8ed6f4fd23f65b43cff9eeb7dd91589e496697 (diff) | |
| parent | 73ba1a0395167ab5949f71d0c82fa7188d37ab5c (diff) | |
Merge remote-tracking branch 'origin/speedups2' into parker
Diffstat (limited to 'src/fields/InkField.ts')
| -rw-r--r-- | src/fields/InkField.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fields/InkField.ts b/src/fields/InkField.ts index 560cf3d63..31024e805 100644 --- a/src/fields/InkField.ts +++ b/src/fields/InkField.ts @@ -1,9 +1,9 @@ +import { Bezier } from "bezier-js"; import { createSimpleSchema, list, object, serializable } from "serializr"; -import { Scripting } from "../client/util/Scripting"; +import { ScriptingGlobals } from "../client/util/ScriptingGlobals"; import { Deserializable } from "../client/util/SerializationHelper"; import { Copy, ToScriptString, ToString } from "./FieldSymbols"; import { ObjectField } from "./ObjectField"; -import { Bezier } from "bezier-js"; // Helps keep track of the current ink tool in use. export enum InkTool { @@ -90,4 +90,4 @@ export class InkField extends ObjectField { } } -Scripting.addGlobal("InkField", InkField);
\ No newline at end of file +ScriptingGlobals.add("InkField", InkField);
\ No newline at end of file |
