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

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

commit d5800071bdfefb70e187630af0b452c5f3916b26
Author: Alex Harui <[email protected]>
AuthorDate: Wed Aug 14 15:38:09 2019 -0700

    ensure end values if the update happens well after the duration expires
---
 .../Effects/src/main/royale/org/apache/royale/effects/Wipe.as     | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/frameworks/projects/Effects/src/main/royale/org/apache/royale/effects/Wipe.as 
b/frameworks/projects/Effects/src/main/royale/org/apache/royale/effects/Wipe.as
index 4289231..457a001 100644
--- 
a/frameworks/projects/Effects/src/main/royale/org/apache/royale/effects/Wipe.as
+++ 
b/frameworks/projects/Effects/src/main/royale/org/apache/royale/effects/Wipe.as
@@ -175,6 +175,14 @@ public class Wipe extends Tween implements IDocument
                 actualTarget.positioner.style.height = this.startValue+"px";
                        }
                }
+        else
+        {
+            actualTarget.height = endValue;
+            COMPILE::JS {
+                //reset height in js
+                actualTarget.positioner.style.height = this.endValue+"px";
+            }
+        }
 
         wiper.target = null;
        }

Reply via email to