diff options
author | Linus Groh <mail@linusgroh.de> | 2020-10-15 20:02:28 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-15 20:40:35 +0200 |
commit | ac98a48177bd8b628a8eb29d1f719df4468b22a0 (patch) | |
tree | 52e93f090d0119262cbc9f5b52502d7c032ed073 /DevTools/HackStudio/Tool.h | |
parent | a45ba638a77127ea03aaeedc9e7ab07e65910703 (diff) | |
download | serenity-ac98a48177bd8b628a8eb29d1f719df4468b22a0.zip |
LibWeb: Fix EventDispatcher::dispatch()
We were never wrapping and using the actual DOM::Event but instead
wrapped the *target* twice and passed it to the event listener callback,
as this value and as argument.
This unbreaks "fun demo" and "canvas path quadratic curve test" - and
event dispatching in general, of course :^)
Fixes #3721.
Diffstat (limited to 'DevTools/HackStudio/Tool.h')
0 files changed, 0 insertions, 0 deletions