mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add private access modifiers to scene history class member variables
This commit is contained in:
parent
1c96a4169d
commit
0353591339
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@ import { ExcalidrawElement } from "./element/types";
|
||||||
import { generateDraw } from "./element";
|
import { generateDraw } from "./element";
|
||||||
|
|
||||||
class SceneHistory {
|
class SceneHistory {
|
||||||
recording: boolean = true;
|
private recording: boolean = true;
|
||||||
stateHistory: string[] = [];
|
private stateHistory: string[] = [];
|
||||||
redoStack: string[] = [];
|
private redoStack: string[] = [];
|
||||||
|
|
||||||
generateCurrentEntry(elements: ExcalidrawElement[]) {
|
generateCurrentEntry(elements: ExcalidrawElement[]) {
|
||||||
return JSON.stringify(
|
return JSON.stringify(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue