@@ -2,15 +2,15 @@ open StateDataMainType;
2
2
3
3
let create = () => {
4
4
index: 0 ,
5
- pointDragStartEventHandleFuncMap :
5
+ pointDragStartEventHandleFuncListMap :
6
6
WonderCommonlib . MutableSparseMapService . createEmpty() ,
7
- pointDragDropEventHandleFuncMap :
7
+ pointDragDropEventHandleFuncListMap :
8
8
WonderCommonlib . MutableSparseMapService . createEmpty() ,
9
- pointDragOverEventHandleFuncMap :
9
+ pointDragOverEventHandleFuncListMap :
10
10
WonderCommonlib . MutableSparseMapService . createEmpty() ,
11
- pointScaleEventHandleFuncMap :
11
+ pointScaleEventHandleFuncListMap :
12
12
WonderCommonlib . MutableSparseMapService . createEmpty() ,
13
- keydownEventHandleFuncMap :
13
+ keydownEventHandleFuncListMap :
14
14
WonderCommonlib . MutableSparseMapService . createEmpty() ,
15
15
dirtyArray: WonderCommonlib . ArrayService . createEmpty() ,
16
16
distanceMap: WonderCommonlib . MutableSparseMapService . createEmpty() ,
@@ -31,11 +31,11 @@ let deepCopyForRestore =
31
31
(
32
32
{
33
33
index,
34
- pointDragStartEventHandleFuncMap ,
35
- pointDragDropEventHandleFuncMap ,
36
- pointDragOverEventHandleFuncMap ,
37
- pointScaleEventHandleFuncMap ,
38
- keydownEventHandleFuncMap ,
34
+ pointDragStartEventHandleFuncListMap ,
35
+ pointDragDropEventHandleFuncListMap ,
36
+ pointDragOverEventHandleFuncListMap ,
37
+ pointScaleEventHandleFuncListMap ,
38
+ keydownEventHandleFuncListMap ,
39
39
dirtyArray,
40
40
distanceMap,
41
41
minDistanceMap,
@@ -52,17 +52,21 @@ let deepCopyForRestore =
52
52
},
53
53
) => {
54
54
index,
55
- pointDragStartEventHandleFuncMap:
56
- pointDragStartEventHandleFuncMap |> WonderCommonlib . MutableSparseMapService . copy,
57
- pointDragDropEventHandleFuncMap:
58
- pointDragDropEventHandleFuncMap |> WonderCommonlib . MutableSparseMapService . copy,
59
- pointDragOverEventHandleFuncMap:
60
- pointDragOverEventHandleFuncMap |> WonderCommonlib . MutableSparseMapService . copy,
61
- pointScaleEventHandleFuncMap:
62
- pointScaleEventHandleFuncMap
55
+ pointDragStartEventHandleFuncListMap:
56
+ pointDragStartEventHandleFuncListMap
57
+ |> WonderCommonlib . MutableSparseMapService . copy,
58
+ pointDragDropEventHandleFuncListMap:
59
+ pointDragDropEventHandleFuncListMap
60
+ |> WonderCommonlib . MutableSparseMapService . copy,
61
+ pointDragOverEventHandleFuncListMap:
62
+ pointDragOverEventHandleFuncListMap
63
+ |> WonderCommonlib . MutableSparseMapService . copy,
64
+ pointScaleEventHandleFuncListMap:
65
+ pointScaleEventHandleFuncListMap
66
+ |> WonderCommonlib . MutableSparseMapService . copy,
67
+ keydownEventHandleFuncListMap:
68
+ keydownEventHandleFuncListMap
63
69
|> WonderCommonlib . MutableSparseMapService . copy,
64
- keydownEventHandleFuncMap:
65
- keydownEventHandleFuncMap |> WonderCommonlib . MutableSparseMapService . copy,
66
70
dirtyArray: dirtyArray |> Js . Array . copy,
67
71
distanceMap: distanceMap |> WonderCommonlib . MutableSparseMapService . copy,
68
72
minDistanceMap:
0 commit comments