Merge pull request #12897 from calixteman/12895

JS - Fix mouse event names
This commit is contained in:
Tim van der Meij 2021-01-24 12:28:24 +01:00 committed by GitHub
commit f2c7338b02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 22 deletions

View file

@ -83,7 +83,7 @@ class EventDispatcher {
return;
}
const name = baseEvent.name.replace(" ", "");
const name = baseEvent.name;
const source = this._objects[id];
const event = (globalThis.event = new Event(baseEvent));
let savedChange;