This is an automated email from the ASF dual-hosted git repository.
hugoferreira 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 65f305eaa9 Fix for: New Jewel DataGridScrollSpeed bead
65f305eaa9 is described below
commit 65f305eaa99d30896a7fc8d8c016ebbccf29b5f6
Author: Hugo Ferreira <[email protected]>
AuthorDate: Sat Oct 8 18:18:31 2022 +0100
Fix for: New Jewel DataGridScrollSpeed bead
This new bead instructed a bug didn't don't allow to horizontal scroll
anymore
---
.../apache/royale/jewel/beads/controls/datagrid/DataGridScrollSpeed.as | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/datagrid/DataGridScrollSpeed.as
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/datagrid/DataGridScrollSpeed.as
index 891d2af522..3adde7774e 100644
---
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/datagrid/DataGridScrollSpeed.as
+++
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/datagrid/DataGridScrollSpeed.as
@@ -76,6 +76,9 @@ package org.apache.royale.jewel.beads.controls.datagrid
{
private function handleMouseWheel(e:MouseEvent):void
{
+ if (e.deltaY == 0)
+ return;
+
e.preventDefault();
var container:Element = e.currentTarget as Element;