Skip to content

Commit

Permalink
Fixed Issue #5
Browse files Browse the repository at this point in the history
The badge should no longer grow unexpectedly.
  • Loading branch information
Marxon13 committed Jul 17, 2014
1 parent 7240849 commit 2cee380
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Classes/M13BadgeView.m
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ - (void)autoSetBadgeFrame
}

//Constrain to integers
frame = CGRectIntegral(frame);
frame = CGRectMake(ceilf(frame.origin.x), ceilf(frame.origin.y), ceilf(frame.size.width), ceilf(frame.size.height));

//Change the frame
self.frame = frame;
Expand Down
6 changes: 3 additions & 3 deletions M13BadgeView.podspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Pod::Spec.new do |s|
s.name = "M13BadgeView"
s.version = "1.0.2"
s.version = "1.0.3"
s.summary = "A customizable implementation of badges for UIViews."

s.description = <<-DESC
A customizable implementation of badges for UIViews.
A customizable implementation of badges for UIViews. Works on any UIView. It animates, and can control its own layout.
DESC

s.homepage = "https://github.com/Marxon13/M13BadgeView"
Expand All @@ -27,7 +27,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI

s.platform = :ios, '6.0'

s.source = { :git => "https://github.com/Marxon13/M13BadgeView.git", :tag => "v1.0.2"}
s.source = { :git => "https://github.com/Marxon13/M13BadgeView.git", :tag => "v1.0.3"}

s.source_files = 'Classes/*'

Expand Down
Binary file not shown.

0 comments on commit 2cee380

Please sign in to comment.