Skip to content

Commit

Permalink
Fixed item spacing being ignored on single line mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luís Jesus committed Jul 6, 2016
1 parent 53eca45 commit cab1fbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SKTagView/SKTagView.m
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ - (void)layoutTags {
CGSize size = view.intrinsicContentSize;
view.frame = CGRectMake(currentX, topPadding, size.width, size.height);
currentX += size.width;

currentX += itemSpacing;

previousView = view;
}
}
Expand Down

0 comments on commit cab1fbe

Please sign in to comment.