mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 00:48:16 +00:00
Merge commit 'bf1d7c0cb5cef95be6f55523a754ad94b0b934a0' into def_releases_2022040810384040_ali-lowcode_ali-lowcode-engine/1.0.81
This commit is contained in:
commit
4f652e5671
@ -1114,7 +1114,9 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
|
||||
|
||||
// fix target : 浏览器事件响应目标
|
||||
if (!e.target || notMyEvent) {
|
||||
e.target = this.contentDocument?.elementFromPoint(e.canvasX!, e.canvasY!);
|
||||
if (!isNaN(e.canvasX!) && !isNaN(e.canvasY!)) {
|
||||
e.target = this.contentDocument?.elementFromPoint(e.canvasX!, e.canvasY!);
|
||||
}
|
||||
}
|
||||
|
||||
// 事件已订正
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user