diff options
| author | Naafiyan Ahmed <naafiyan@gmail.com> | 2022-03-17 12:17:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-17 12:17:27 -0400 |
| commit | 5c874c6829d9957696dfe61014173b6800c864df (patch) | |
| tree | 23b7206679d500fc039a4302255cf3d6e17b47d3 /src/fields/InkField.ts | |
| parent | a299d1766aa7f4bf3e6bbc3032a39b6b5ae28b4b (diff) | |
| parent | 5a385e46937a2f79d557b4ee929e78ba78aca8bf (diff) | |
Merge pull request #55 from brown-dash/speedups2
Speedups2
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 |
