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