fix(lint): fix code style

master
Tomas Aparicio 9 years ago
parent 8d4a850475
commit 68bbcee69b

@ -421,9 +421,8 @@ func imageCalculations(o *Options, inWidth, inHeight int) float64 {
func roundFloat(f float64) int {
if f < 0 {
return int(math.Ceil(f - 0.5))
} else {
return int(math.Floor(f + 0.5))
}
return int(math.Floor(f + 0.5))
}
func calculateCrop(inWidth, inHeight, outWidth, outHeight int, gravity Gravity) (int, int) {

Loading…
Cancel
Save