From 85b09966bf49f27b886d9ff8e6be9f7e71eef8ec Mon Sep 17 00:00:00 2001 From: FredrikBixo Date: Sun, 8 May 2016 12:09:13 +0200 Subject: [PATCH] Update OnOffButton.swift Looks nicer that way --- Sources/OnOffButton.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/OnOffButton.swift b/Sources/OnOffButton.swift index b5af27d..2f84cfe 100644 --- a/Sources/OnOffButton.swift +++ b/Sources/OnOffButton.swift @@ -50,7 +50,7 @@ public class OnOffButton: UIButton { private let onStrokeEnd : CGFloat = 0.20 private let offStrokeStart: CGFloat = 0.268 private let offStrokeEnd: CGFloat = 1.0 - private let miterLimit: CGFloat = 10 + private let miterLimit: CGFloat = 15 // MARK: Initialization @@ -244,4 +244,4 @@ extension CGPath { return path } -} \ No newline at end of file +}