mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
Fixed slot interaction issue.
This commit is contained in:
parent
29a30a07c1
commit
40724dd52e
@ -1189,7 +1189,7 @@ export class SpineWebComponentWidget extends HTMLElement implements Disposable,
|
|||||||
if (inside) {
|
if (inside) {
|
||||||
slotFunction(slot, type, originalEvent);
|
slotFunction(slot, type, originalEvent);
|
||||||
}
|
}
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
let vertices = this.verticesTemp;
|
let vertices = this.verticesTemp;
|
||||||
@ -1213,7 +1213,7 @@ export class SpineWebComponentWidget extends HTMLElement implements Disposable,
|
|||||||
slotFunction(slot, "enter", originalEvent);
|
slotFunction(slot, "enter", originalEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
slotFunction(slot, type);
|
slotFunction(slot, type, originalEvent);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user