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/05/12 10:17:20 UTC

[royale-asjs] branch color_picker updated: No need to set the initial dimensions of the popup.

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

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


The following commit(s) were added to refs/heads/color_picker by this push:
     new acbde3e  No need to set the initial dimensions of the popup.
acbde3e is described below

commit acbde3e634cc75b9ea32872e31b995e2740a876d
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Sun May 12 13:17:09 2019 +0300

    No need to set the initial dimensions of the popup.
---
 .../src/main/royale/org/apache/royale/html/beads/ColorPickerView.as     | 2 --
 1 file changed, 2 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/ColorPickerView.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/ColorPickerView.as
index 9ea3a35..294f374 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/ColorPickerView.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/ColorPickerView.as
@@ -183,8 +183,6 @@ package org.apache.royale.html.beads
 			if (value && !list.visible) {
 				var model:IColorModel = _strand.getBeadByType(IColorModel) as IColorModel;
 				(list as IColorPickerPopUp).model = model;
-				list.height = 200;
-				list.width = 200;
 				list.visible = true;
 				
 				var origin:Point = new Point(0, button.y+button.height);