File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/composables/use-drawing Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* @Author : zouyaoji@https://github.com/zouyaoji
3
3
* @Date : 2021-10-13 09:45:59
4
- * @LastEditTime : 2023-03-13 17:52:59
4
+ * @LastEditTime : 2023-12-06 00:13:43
5
5
* @LastEditors : zouyaoji 370681295@qq.com
6
6
* @Description :
7
- * @FilePath : \vue-cesium@next \packages\composables\use-drawing\use-drawing-fab.ts
7
+ * @FilePath : \vue-cesium\packages\composables\use-drawing\use-drawing-fab.ts
8
8
*/
9
9
import { VcCollectionPrimitive } from '@vue-cesium/components/primitive-collections'
10
10
import type { VcFabProps , VcFabRef } from '@vue-cesium/components/ui'
@@ -169,6 +169,11 @@ export default function (
169
169
return Cartesian3 . clone ( position , result )
170
170
}
171
171
}
172
+ } else {
173
+ position = scene . pickPosition ( windowPosition , cartesianScratch )
174
+ if ( defined ( position ) ) {
175
+ return Cartesian3 . clone ( position , result )
176
+ }
172
177
}
173
178
}
174
179
if ( defined ( scene . globe ) ) {
You can’t perform that action at this time.
0 commit comments