composition.

This commit is contained in:
Kevin G Christiano 2019-07-29 09:41:42 -04:00
parent 905a2b948e
commit ae92c9bbf8

View File

@ -45,7 +45,7 @@ public typealias ActionBlock = () -> ()
didSet {
isUserInteractionEnabled = !clauses.isEmpty
if clauses.count > 1 {
clauses.sort{ first, second in
clauses.sort { first, second in
guard let firstLocation = first.range?.location,
let secondLocation = second.range?.location
else { return false }