fix selections (#1013)
This commit is contained in:
@ -32,6 +32,7 @@ export function useEngineConnectionSubscriptions() {
|
|||||||
const unSubClick = engineCommandManager.subscribeTo({
|
const unSubClick = engineCommandManager.subscribeTo({
|
||||||
event: 'select_with_point',
|
event: 'select_with_point',
|
||||||
callback: async (engineEvent) => {
|
callback: async (engineEvent) => {
|
||||||
|
if (!context.sketchEnginePathId) return
|
||||||
const event = await getEventForSelectWithPoint(engineEvent, {
|
const event = await getEventForSelectWithPoint(engineEvent, {
|
||||||
sketchEnginePathId: context.sketchEnginePathId,
|
sketchEnginePathId: context.sketchEnginePathId,
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user