undo points based on order added to polygon (#11035)

This commit is contained in:
Josh Hawkins
2024-04-19 08:59:28 -05:00
committed by GitHub
parent 5f15641b1b
commit d6dfa596de
3 changed files with 64 additions and 51 deletions

View File

@@ -7,8 +7,8 @@ export type Polygon = {
type: PolygonType;
objects: string[];
points: number[][];
pointsOrder?: number[];
isFinished: boolean;
// isUnsaved: boolean;
color: number[];
};