wd před 7 roky
rodič
revize
72d1bfabda
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      index.js

+ 2 - 1
index.js

@@ -441,7 +441,8 @@ export function getShapesSelector(airspaceInfos, style, currentAirspaceIndex) {
 
 //获取数组
 export function getShapes(airspaceInfos, style, currentAirspaceIndex) {
-    let {markers, polygons, circles, lines, regionPoints} = getShapesSelector((airspaceInfos)=>airspaceInfos, style, currentAirspaceIndex)
+    let {markers, polygons, circles, lines, regionPoints} =
+        getShapesSelector((airspaceInfos)=>airspaceInfos, style, (currentAirspaceIndex)=>currentAirspaceIndex)
     return {
         markers: markers(airspaceInfos),
         circles: circles(airspaceInfos),