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 2022/11/28 13:01:20 UTC
[royale-asjs] branch develop updated: Emulation - hide popup on mouse down outside
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 a630248d98 Emulation - hide popup on mouse down outside
a630248d98 is described below
commit a630248d984f2eae1beb53b8b56f8f77ac7adade
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Mon Nov 28 15:01:09 2022 +0200
Emulation - hide popup on mouse down outside
---
frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as | 2 ++
1 file changed, 2 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as
index 7b0e650b9b..92be451c7f 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/ColorPicker.as
@@ -27,6 +27,7 @@ package mx.controls
import mx.controls.beads.ColorPickerView;
import org.apache.royale.core.ISelectionModel;
import mx.events.FlexEvent;
+ import mx.controls.beads.HideComboPopupOnMouseDownBead;
/*
import flash.display.DisplayObject;
import flash.events.Event;
@@ -503,6 +504,7 @@ public class ColorPicker extends UIComponent //ComboBase
public function ColorPicker()
{
super();
+ addBead(new HideComboPopupOnMouseDownBead());
typeNames = "ColorPicker";
if (!isModelInited)