Skip to content

Commit

Permalink
Fixed Issue #33
Browse files Browse the repository at this point in the history
Fixed issue that caused the metro progress bar to not be vertically
centered when displaying as a line.
  • Loading branch information
NinjaKittenProductions committed Jun 17, 2014
1 parent c17a6fc commit ea5c49f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/ProgressViews/M13ProgressViewMetro.m
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ - (void)setAnimationShape:(M13ProgressViewMetroAnimationShape)animationShape
//Create the path
animationPath = [UIBezierPath bezierPath];
[animationPath moveToPoint:CGPointMake(-_dotSize.width, self.bounds.size.height / 2)];
[animationPath addLineToPoint:CGPointMake(self.bounds.size.width + _dotSize.width, self.bounds.size.width / 2)];
[animationPath addLineToPoint:CGPointMake(self.bounds.size.width + _dotSize.width, self.bounds.size.height / 2)];
}
[self stopAnimating];
[self beginAnimating];
Expand Down
4 changes: 2 additions & 2 deletions M13ProgressSuite.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "M13ProgressSuite"
s.version = "1.2.3"
s.version = "1.2.4"
s.summary = "A suite containing many tools to display progress information on iOS."

s.description = <<-DESC
Expand All @@ -27,7 +27,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI

s.platform = :ios, '7.0'

s.source = { :git => "https://github.com/Marxon13/M13ProgressSuite.git", :tag => "v1.2.3"}
s.source = { :git => "https://github.com/Marxon13/M13ProgressSuite.git", :tag => "v1.2.4"}

s.source_files = 'Classes/*/*'

Expand Down
Binary file not shown.

0 comments on commit ea5c49f

Please sign in to comment.