1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:17:45 +00:00

LibWeb: Expose MouseEvent.{screenX,screenY}

These are currently the same as clientX and clientY, but it works for
now.
This commit is contained in:
Luke Wilde 2022-11-05 14:40:31 +00:00 committed by Andreas Kling
parent a569d02b0d
commit d6cfc735ae
2 changed files with 7 additions and 1 deletions

View file

@ -6,6 +6,8 @@ interface MouseEvent : UIEvent {
readonly attribute double offsetY;
readonly attribute double clientX;
readonly attribute double clientY;
readonly attribute double screenX;
readonly attribute double screenY;
readonly attribute double x;
readonly attribute double y;
@ -23,4 +25,4 @@ dictionary MouseEventInit : EventModifierInit {
short button = 0;
};
};