From e17d08b7e94a57587bbd3cddf567572ceb0dee17 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 21 Jun 2016 21:30:10 +0200 Subject: [PATCH] Try to make text not that little --- mods/unsplash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/unsplash.go b/mods/unsplash.go index 51af487..5d3ccb5 100644 --- a/mods/unsplash.go +++ b/mods/unsplash.go @@ -133,7 +133,7 @@ func unsplash(broker *tg.Broker, update tg.APIMessage) { iter := 0 for width*1.2 > iwidth && iter < 10 { log.Println("Warning, resizing!") - scale *= (0.9 - 0.1*float64(iter)) + scale *= (0.9 - 0.05*float64(iter)) gc.SetFontSize(scale) left, top, right, bottom = gc.GetStringBounds(texts[longid]) width = right - left