You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2021/09/12 10:11:58 UTC

[royale-asjs] branch develop updated: Add support for mouseenter and mouseleave

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

harbs 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 78eaa88  Add support for mouseenter and mouseleave
78eaa88 is described below

commit 78eaa8881706e329e195667268e2f9402590092e
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sun Sep 12 13:11:49 2021 +0300

    Add support for mouseenter and mouseleave
---
 .../org/apache/royale/events/ElementEvents.as      | 64 +++++++++++-----------
 1 file changed, 33 insertions(+), 31 deletions(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/ElementEvents.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/ElementEvents.as
index aeb5b42..06d874d 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/events/ElementEvents.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/events/ElementEvents.as
@@ -23,26 +23,26 @@ package org.apache.royale.events
 	COMPILE::SWF
 	public class ElementEvents
 	{
-        //--------------------------------------
-        //   Static Property
-        //--------------------------------------
-        
-        static public const elementEvents:Object = {
+		//--------------------------------------
+		//   Static Property
+		//--------------------------------------
+		
+		static public const elementEvents:Object = {
 			'click': 1,
 			'doubleClick': 1,
-            'change': 1,
-            'keyup': 1,
-            'keydown': 1,
-            'load': 1,
-            'mouseOver': 1,
-            'mouseOut': 1,
-            'mouseUp': 1,
-            'mouseDown': 1,
-            'mouseMove': 1,
-            'rollOver': 1,
+			'change': 1,
+			'keyup': 1,
+			'keydown': 1,
+			'load': 1,
+			'mouseOver': 1,
+			'mouseOut': 1,
+			'mouseUp': 1,
+			'mouseDown': 1,
+			'mouseMove': 1,
+			'rollOver': 1,
 			'rollOut': 1,
 			'mouseWheel': 1
-        };
+		};
 	}
 
 	COMPILE::JS
@@ -54,20 +54,22 @@ package org.apache.royale.events
 		//--------------------------------------
 
 		static public const elementEvents:Object = {
-                'click': 1,
-				'dblclick': 1,
-                'change': 1,
-                'keyup': 1,
-                'keydown': 1,
-                'load': 1,
-				'mouseover': 1,
-				'mouseout': 1,
-				'mouseup': 1,
-				'mousedown': 1,
-				'mousemove': 1,
-				'rollover': 1,
-				'rollout': 1,
-				'wheel': 1
-			};
+			'click': 1,
+			'dblclick': 1,
+			'change': 1,
+			'keyup': 1,
+			'keydown': 1,
+			'load': 1,
+			'mouseenter': 1,
+			'mouseleave': 1,
+			'mouseover': 1,
+			'mouseout': 1,
+			'mouseup': 1,
+			'mousedown': 1,
+			'mousemove': 1,
+			'rollover': 1,
+			'rollout': 1,
+			'wheel': 1
+		};
 	}
 }