From 84cdafd052edc2c34ae35d79defd0e9eae7fb972 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 22 Aug 2020 21:18:13 +0200 Subject: [PATCH] Make it clear when percentages are approximate #196 --- Gifski/ResizableDimensions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gifski/ResizableDimensions.swift b/Gifski/ResizableDimensions.swift index cefab634..ef316cf8 100644 --- a/Gifski/ResizableDimensions.swift +++ b/Gifski/ResizableDimensions.swift @@ -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)"))" } } }