Skip to content

Commit

Permalink
Make it clear when percentages are approximate
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 22, 2020
1 parent d8a6a51 commit 84cdafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gifski/ResizableDimensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ extension ResizableDimensions: CustomStringConvertible {
return "\(currentDimensions) (\(pixelsDimensions == originalDimensions ? "Original" : "\(pixelsDimensions)"))"
case .pixels:
let percentDimensions = changed(dimensionsType: .percent).currentDimensions
return "\(currentDimensions) (\(currentDimensions == originalDimensions ? "Original" : "\(percentDimensions)"))"
return "\(currentDimensions) (\(currentDimensions == originalDimensions ? "Original" : "~\(percentDimensions)"))"
}
}
}

0 comments on commit 84cdafd

Please # to comment.