Skip to content

Commit bf826ba

Browse files
committed
fix(components): 🐛 picking fails during drawing
1 parent b174299 commit bf826ba

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/composables/use-drawing/use-drawing-fab.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* @Author: zouyaoji@https://github.com/zouyaoji
33
* @Date: 2021-10-13 09:45:59
4-
* @LastEditTime: 2023-12-06 00:13:43
4+
* @LastEditTime: 2024-01-26 14:04:15
55
* @LastEditors: zouyaoji 370681295@qq.com
66
* @Description:
77
* @FilePath: \vue-cesium\packages\composables\use-drawing\use-drawing-fab.ts
@@ -169,11 +169,6 @@ export default function (
169169
return Cartesian3.clone(position, result)
170170
}
171171
}
172-
} else {
173-
position = scene.pickPosition(windowPosition, cartesianScratch)
174-
if (defined(position)) {
175-
return Cartesian3.clone(position, result)
176-
}
177172
}
178173
}
179174
if (defined(scene.globe)) {

0 commit comments

Comments
 (0)