Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a0f30e0605 |
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -2,7 +2,7 @@
|
||||
// KDCircularProgress iOS.h
|
||||
// KDCircularProgress iOS
|
||||
//
|
||||
// Created by Kaan Dedeoglu on 9/21/16.
|
||||
// Copyright (c) 2019 Kaan Dedeoglu. All rights reserved.
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ private extension Comparable {
|
||||
}
|
||||
|
||||
@IBDesignable
|
||||
@objcMembers
|
||||
public class KDCircularProgress: UIView, CAAnimationDelegate {
|
||||
private enum Conversion {
|
||||
static func degreesToRadians (value:CGFloat) -> CGFloat {
|
||||
@@ -443,7 +444,7 @@ public class KDCircularProgress: UIView, CAAnimationDelegate {
|
||||
|
||||
let glowValue = GlowConstants.glowAmount(forAngle: reducedAngle, glowAmount: glowAmount, glowMode: glowMode, size: width)
|
||||
if glowValue > 0 {
|
||||
imageCtx?.setShadow(offset: CGSize.zero, blur: glowValue, color: UIColor.black.cgColor)
|
||||
imageCtx?.setShadow(offset: CGSize(width: -1.0, height: -1.0), blur: glowValue, color: UIColor.black.cgColor)
|
||||
}
|
||||
|
||||
let linecap: CGLineCap = roundedCorners ? .round : .butt
|
||||
|
||||
Reference in New Issue
Block a user