aboutsummaryrefslogtreecommitdiff
path: root/src/fields/InkField.ts
diff options
context:
space:
mode:
authorNaafiyan Ahmed <naafiyan@gmail.com>2022-04-28 17:05:21 -0400
committerNaafiyan Ahmed <naafiyan@gmail.com>2022-04-28 17:05:21 -0400
commit89025516860555976e6cd95180ce6a584542fede (patch)
tree35c4eaf15145e8859a9107877d31de8924337fe1 /src/fields/InkField.ts
parent4f6b6306803437851959e9ad214fd61a14207a20 (diff)
parent73d52c3c1a0b06e0180999cb876feb6025df31b2 (diff)
merged and getting started on mapping algo
Diffstat (limited to 'src/fields/InkField.ts')
-rw-r--r--src/fields/InkField.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fields/InkField.ts b/src/fields/InkField.ts
index 6d24c6cbc..31fa6dfac 100644
--- a/src/fields/InkField.ts
+++ b/src/fields/InkField.ts
@@ -20,7 +20,6 @@ export enum InkTool {
export interface PointData {
X: number;
Y: number;
- time?: number;
}
export type Segment = Array<Bezier>;
@@ -85,7 +84,7 @@ export class InkField extends ObjectField {
}
[ToScriptString]() {
- return "new InkField([" + this.inkData.map(i => `{X: ${i.X}, Y: ${i.Y}, time: ${i.time || 0}} `) + "])";
+ return "new InkField([" + this.inkData.map(i => `{X: ${i.X}, Y: ${i.Y}`) + "])";
}
[ToString]() {
return "InkField";