fix selections (#1013)

This commit is contained in:
Kurt Hutten
2023-11-07 18:21:32 +11:00
committed by GitHub
parent 57c2481943
commit 3a59ae13b6

View File

@ -32,6 +32,7 @@ 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,
})