Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[Android] add option to ignore element time calculate (#2444)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-chen authored and YorkShen committed May 15, 2019
1 parent 9a3a5fa commit eef7654
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ public GraphicActionAddElement(@NonNull WXSDKInstance instance, String ref,
if (null != child.getAttrs()){
flag = child.getAttrs().get("ignoreInteraction");
}
if ("1".equals(flag) || "true".equals(flag) || child.isFixed()){
if ("false".equals(flag) || "0".equals(flag)){
child.isIgnoreInteraction = false;
}else if ("1".equals(flag) || "true".equals(flag) || child.isFixed()){
child.isIgnoreInteraction = true;
}
}
Expand Down

0 comments on commit eef7654

Please sign in to comment.