mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-26 03:48:12 +00:00
add comments
This commit is contained in:
parent
52013023b4
commit
b843117fc4
@ -152,6 +152,9 @@ function getSourceSensor(dragObject: DragObject): ISimulatorHost | null {
|
|||||||
return dragObject.nodes[0]?.document.simulator || null;
|
return dragObject.nodes[0]?.document.simulator || null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* make a handler that listen all sensors:document, avoid frame lost
|
||||||
|
*/
|
||||||
function makeEventsHandler(
|
function makeEventsHandler(
|
||||||
boostEvent: MouseEvent | DragEvent,
|
boostEvent: MouseEvent | DragEvent,
|
||||||
sensors: ISimulatorHost[],
|
sensors: ISimulatorHost[],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user