Skip to content

Commit

Permalink
Merge pull request #27 from LcTwisk/master
Browse files Browse the repository at this point in the history
Update lineWidth of bezierPath on strokeWidth change.
  • Loading branch information
ipraba authored Apr 14, 2017
2 parents e7c0dfe + 05ccb76 commit 3815689
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Pod/Classes/EPSignatureView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ open class EPSignatureView: UIView {
// MARK: - Public Vars

open var strokeColor = UIColor.black
open var strokeWidth: CGFloat = 2.0
open var strokeWidth: CGFloat = 2.0 {
didSet { bezierPath.lineWidth = strokeWidth }
}
open var isSigned: Bool = false

// MARK: - Initializers
Expand Down

0 comments on commit 3815689

Please sign in to comment.