Line with setting up royale_wrapper to this causes maximum stack overflow
exception in some scenario. More info about scenario ->
https://github.com/apache/royale-asjs/issues/479#issuecomment-543267296

pon., 21 paź 2019 o 15:01 <[email protected]> napisał(a):

> This is an automated email from the ASF dual-hosted git repository.
>
> piotrz 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 6a24158  Spark CheckBox: Remove royale_wrapper for icon
> 6a24158 is described below
>
> commit 6a24158993b3e9ed791dce02e427d3132992f5ff
> Author: Piotr Zarzycki <[email protected]>
> AuthorDate: Mon Oct 21 15:00:16 2019 +0200
>
>     Spark CheckBox: Remove royale_wrapper for icon
>
>     - It causes maximum stack overflow exception during size measurement
> (reference #479 )
> ---
>  .../projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as   |
> 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git
> a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as
> b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as
> index 3d11ffa..aa7b55d 100644
> ---
> a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as
> +++
> b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/CheckBox.as
> @@ -342,8 +342,6 @@ public class CheckBox extends ToggleButtonBase
>          element.appendChild(_icon.element);
>
>          element.appendChild(document.createTextNode(''));
> -        //positioner.style.position = 'relative';
> -        _icon.element.royale_wrapper = this;
>
>          typeNames = 'CheckBox CheckBoxIcon';
>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Reply via email to