You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2019/08/11 08:50:55 UTC
[royale-asjs] branch develop updated: Fixes #447
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 03df27f Fixes #447
new ea5eca6 Merge branch 'develop' of https://github.com/apache/royale-asjs into develop
03df27f is described below
commit 03df27f7876faf3e2aa39377915e92acceeca21f
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Sun Aug 11 11:50:24 2019 +0300
Fixes #447
---
.../royale/spark/components/beads/controllers/DropDownListController.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/controllers/DropDownListController.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/controllers/DropDownListController.as
index ffddb69..e3d7572 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/controllers/DropDownListController.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/beads/controllers/DropDownListController.as
@@ -73,7 +73,7 @@ public class DropDownListController implements IBead, IBeadController
popUpModel.labelField = selectionModel.labelField;
viewBead.popUpVisible = true; // adds to display list as well
popUpModel.selectedIndex = selectionModel.selectedIndex;
- var pt:Point = new Point(IUIBase(_strand).x, IUIBase(_strand).y + IUIBase(_strand).height);
+ var pt:Point = new Point(0, IUIBase(_strand).height);
pt = PointUtils.localToGlobal(pt, _strand);
IUIBase(viewBead.popUp).x = pt.x;
IUIBase(viewBead.popUp).y = pt.y;