From 0bf64d5c4bfc62203fa0a024f994a32e23b0effd Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 3 Mar 2021 14:25:38 -0500 Subject: trying out a forked branch of equation editor. cleaned up warnings. --- src/client/views/nodes/FunctionPlotBox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/views/nodes/FunctionPlotBox.tsx') diff --git a/src/client/views/nodes/FunctionPlotBox.tsx b/src/client/views/nodes/FunctionPlotBox.tsx index ccbbb2364..52b1d39fd 100644 --- a/src/client/views/nodes/FunctionPlotBox.tsx +++ b/src/client/views/nodes/FunctionPlotBox.tsx @@ -54,8 +54,8 @@ export class FunctionPlotBox extends ViewBoxBaseComponent { this._plotEle = ele || this._plotEle; - let width = this.props.PanelWidth(); - let height = this.props.PanelHeight(); + const width = this.props.PanelWidth(); + const height = this.props.PanelHeight(); const fn = StrCast(DocListCast(this.dataDoc.data).lastElement()?.text, "x^2").replace(/\\frac\{(.*)\}\{(.*)\}/, "($1/$2)"); console.log("Graphing:" + fn); try { -- cgit v1.2.3-70-g09d2