diff options
| author | vkalev <victor_kalev@brown.edu> | 2021-11-21 19:37:51 -0500 |
|---|---|---|
| committer | vkalev <victor_kalev@brown.edu> | 2021-11-21 19:37:51 -0500 |
| commit | cc5cdf6882e25826ae00220927d31201a3bb997e (patch) | |
| tree | 7a78f4100b813031ea7fe91692723bf850b17d99 /src/fields | |
| parent | 7b3e1614fa645014c7de69a0f2057e389074c0ed (diff) | |
splitting/deletion occurs but too many t-values are stored
Diffstat (limited to 'src/fields')
| -rw-r--r-- | src/fields/InkField.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fields/InkField.ts b/src/fields/InkField.ts index f16e143d8..1d50b5e0d 100644 --- a/src/fields/InkField.ts +++ b/src/fields/InkField.ts @@ -3,6 +3,7 @@ import { Scripting } from "../client/util/Scripting"; import { Deserializable } from "../client/util/SerializationHelper"; import { Copy, ToScriptString, ToString } from "./FieldSymbols"; import { ObjectField } from "./ObjectField"; +import { DocumentView } from "../client/views/nodes/DocumentView"; // Helps keep track of the current ink tool in use. export enum InkTool { @@ -20,6 +21,11 @@ export interface PointData { Y: number; } +export interface Intersection { + t: number; + ink: DocumentView; +} + // Defines an ink as an array of points. export type InkData = Array<PointData>; |
