From 51015129feffba0e9b14490650f9ff38dcae86bd Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 21 Jun 2016 14:31:13 +0200 Subject: [PATCH] BETTER MARGIN M8 --- mods/unsplash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/unsplash.go b/mods/unsplash.go index 1fa4a13..2a0ad4d 100644 --- a/mods/unsplash.go +++ b/mods/unsplash.go @@ -129,7 +129,7 @@ func unsplash(broker *tg.Broker, update tg.APIMessage) { // Still too big? Decrease font size again iter := 0 - for width*1.05 > iwidth && iter < 10 { + for width*1.2 > iwidth && iter < 10 { log.Println("Warning, resizing!") scale *= (0.9 - 0.1*float64(iter)) gc.SetFontSize(scale)