This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new f511cd243b browser wheel events need to be converted to MouseEvent
f511cd243b is described below

commit f511cd243bc6c4f371fdda7cf25b55c5fa3e4e8e
Author: Yishay Weiss <[email protected]>
AuthorDate: Tue Mar 5 13:40:15 2024 +0200

    browser wheel events need to be converted to MouseEvent
---
 .../projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as
 
b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as
index 630ca8d0bc..4c07374f37 100644
--- 
a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as
+++ 
b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/MouseEvent.as
@@ -834,6 +834,7 @@ package org.apache.royale.events
         public static function setupConverter():Boolean
         {
             ElementWrapper.converterMap["MouseEvent"] = 
MouseEventConverter.convert;
+            ElementWrapper.converterMap["WheelEvent"] = 
MouseEventConverter.convert;
             ElementWrapper.converterMap["PointerEvent"] = 
MouseEventConverter.pointerEventFilter;
             _useNativeConstructor = typeof window.MouseEvent == 'function';
             return true;

Reply via email to