Skip to content

Commit

Permalink
fix didn't return after full on add
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Jun 16, 2022
1 parent 358a23a commit 27cdf78
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ public PatternComponentBuilder components(Component... components) {
LOGGER.warn("無法在界面 {} 的 Pattern {} 中新增組件 {}, 位置已滿。",
view.getClass().getSimpleName(), pattern, component.getClass().getSimpleName()
);
return this;
}
componentMap.get(pattern).add(component);
if (component instanceof Animatable) ((Animatable) component).startAnimation();
Expand Down

0 comments on commit 27cdf78

Please sign in to comment.