From 035359133969a13fe8c3f99bdc1ff725784b2fb3 Mon Sep 17 00:00:00 2001 From: Gasim Gasimzada Date: Mon, 6 Jan 2020 21:45:11 +0400 Subject: [PATCH] Add private access modifiers to scene history class member variables --- src/history.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/history.ts b/src/history.ts index 9a94accc3..8076e0b5b 100644 --- a/src/history.ts +++ b/src/history.ts @@ -2,9 +2,9 @@ import { ExcalidrawElement } from "./element/types"; import { generateDraw } from "./element"; class SceneHistory { - recording: boolean = true; - stateHistory: string[] = []; - redoStack: string[] = []; + private recording: boolean = true; + private stateHistory: string[] = []; + private redoStack: string[] = []; generateCurrentEntry(elements: ExcalidrawElement[]) { return JSON.stringify(