Skip to content

Commit ea5c49f

Browse files
Fixed Issue #33
Fixed issue that caused the metro progress bar to not be vertically centered when displaying as a line.
1 parent c17a6fc commit ea5c49f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Classes/ProgressViews/M13ProgressViewMetro.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ - (void)setAnimationShape:(M13ProgressViewMetroAnimationShape)animationShape
204204
//Create the path
205205
animationPath = [UIBezierPath bezierPath];
206206
[animationPath moveToPoint:CGPointMake(-_dotSize.width, self.bounds.size.height / 2)];
207-
[animationPath addLineToPoint:CGPointMake(self.bounds.size.width + _dotSize.width, self.bounds.size.width / 2)];
207+
[animationPath addLineToPoint:CGPointMake(self.bounds.size.width + _dotSize.width, self.bounds.size.height / 2)];
208208
}
209209
[self stopAnimating];
210210
[self beginAnimating];

M13ProgressSuite.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "M13ProgressSuite"
3-
s.version = "1.2.3"
3+
s.version = "1.2.4"
44
s.summary = "A suite containing many tools to display progress information on iOS."
55

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

2828
s.platform = :ios, '7.0'
2929

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

3232
s.source_files = 'Classes/*/*'
3333

Binary file not shown.

0 commit comments

Comments
 (0)