This is an automated email from the ASF dual-hosted git repository.
yishayw pushed a commit to branch LoadIndicator
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/LoadIndicator by this push:
new 988c82f Reimplemented LoadIndicator.
988c82f is described below
commit 988c82f868cec43f8740b913befb9ac27423fde1
Author: DESKTOP-RH4S838\Yishay <[email protected]>
AuthorDate: Fri Mar 1 23:16:37 2019 +0200
Reimplemented LoadIndicator.
---
.../Basic/src/main/royale/org/apache/royale/html/LoadIndicator.as | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/LoadIndicator.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/LoadIndicator.as
index 1ec382b..226bd08 100644
---
a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/LoadIndicator.as
+++
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/LoadIndicator.as
@@ -47,7 +47,8 @@ package org.apache.royale.html
override protected function createElement():WrappedHTMLElement
{
element =
document.createElementNS('http://www.w3.org/2000/svg', 'svg') as
WrappedHTMLElement;
-
+ element.setAttribute("viewBox", "0 0 135 135");
+ element.innerHTML = '<path d="M28.19 40.31c6.627 0
12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12
12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284
0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0
16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12
0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686
12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 [...]
// initially undefined could be set to null
if (positioner == null)
positioner = element;