Slightly tweak the appearance of the attachment upload progress bar.

// FREEBIE
pull/1/head
Matthew Chen 9 years ago
parent 26371499da
commit 36ea273475

@ -79,8 +79,8 @@ NS_ASSUME_NONNULL_BEGIN
- (void)update - (void)update
{ {
CGFloat kBorderThickness = self.bounds.size.height * 0.15f; CGFloat kBorderThickness = self.bounds.size.height * 0.1f;
CGFloat kOuterRadius = self.bounds.size.height * 0.3f; CGFloat kOuterRadius = self.bounds.size.height * 0.25f;
CGFloat kInnerRadius = kOuterRadius - kBorderThickness; CGFloat kInnerRadius = kOuterRadius - kBorderThickness;
// We want to slightly overlap the border with the progress // We want to slightly overlap the border with the progress
// to achieve a clean effect. // to achieve a clean effect.

Loading…
Cancel
Save