You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/08/14 22:38:55 UTC
[royale-asjs] 01/02: ensure end values if the update happens well
after the duration expires
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 <ah...@apache.org>
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;
}