From 8ca78cbe4b9a4a37d7a9df14ea32d9afd72f2036 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 9 Apr 2022 20:03:02 -0500 Subject: [PATCH 1/2] ffixed toms bad --- src/support/parse.ts | 4 ++-- src/support/types.ts | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/support/parse.ts b/src/support/parse.ts index 5e15fb9..0855dbe 100644 --- a/src/support/parse.ts +++ b/src/support/parse.ts @@ -270,8 +270,8 @@ export class MathStatement { /** The raw statement input by the user. */ public readonly raw: string, - public x: Number = 0, - public y: Number = 0, + public x: number = 0, + public y: number = 0, ) {} /** Parse the raw statement to an AST. */ diff --git a/src/support/types.ts b/src/support/types.ts index d459c20..4e2c936 100644 --- a/src/support/types.ts +++ b/src/support/types.ts @@ -96,9 +96,9 @@ export interface EvaluationResult { export class RichTextBox { constructor( public text: string = '', - public x: Number = 0, - public y: Number = 0, - ) { - + public x: number = 0, + public y: number = 0, + ) { + } -} \ No newline at end of file +} From 82d361d7ef25dfa9d9bee3a0d04830aca96cfc42 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 9 Apr 2022 20:12:43 -0500 Subject: [PATCH 2/2] fixed toms stupid --- src/components/ImageBox.vue | 10 +++------- src/components/Statement.vue | 2 +- src/components/TextBox.vue | 11 ++++------- src/pages/Editor.vue | 4 ++-- src/pages/ExpressionEditor.vue | 2 +- src/pages/VarDeclEditor.vue | 2 +- 6 files changed, 12 insertions(+), 19 deletions(-) diff --git a/src/components/ImageBox.vue b/src/components/ImageBox.vue index 80216ac..21a91e2 100644 --- a/src/components/ImageBox.vue +++ b/src/components/ImageBox.vue @@ -1,12 +1,8 @@