Skip to content

Commit

Permalink
update for type-o
Browse files Browse the repository at this point in the history
  • Loading branch information
wess committed Nov 8, 2016
1 parent a11d0be commit d6982b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/UIImage+Appendix.swift
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public extension UIImage {
}

let toSize:CGSize
if !scale && (referenceSize.width < bounding.width) && (referenceSize.height < bounding.height) {
if scaleIfSmaller == false && (referenceSize.width < bounding.width) && (referenceSize.height < bounding.height) {
toSize = referenceSize
} else {
let ratio = ((bounding.width / referenceSize.width), (bounding.height / referenceSize.height))
Expand Down

0 comments on commit d6982b3

Please sign in to comment.