소스 검색

fix: caps

xzw 16 시간 전
부모
커밋
6093502b60
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/sdk/cover/index.js

+ 1 - 0
src/sdk/cover/index.js

@@ -2028,6 +2028,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
                 },
                 changeOpacity(opacity=1){
                     path.edge.material.opacity = opacity 
+                    path.endCaps[0].children[0].material.opacity = opacity
                     viewer.dispatchEvent('content_changed')
                 },
                 highlight(state){