community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1839227 - /comdev/project-logos/tools/poweredby.py
Date Sun, 26 Aug 2018 15:29:12 GMT
Author: humbedooh
Date: Sun Aug 26 15:29:12 2018
New Revision: 1839227

URL: http://svn.apache.org/viewvc?rev=1839227&view=rev
Log:
adjust edge detection

Modified:
    comdev/project-logos/tools/poweredby.py

Modified: comdev/project-logos/tools/poweredby.py
URL: http://svn.apache.org/viewvc/comdev/project-logos/tools/poweredby.py?rev=1839227&r1=1839226&r2=1839227&view=diff
==============================================================================
--- comdev/project-logos/tools/poweredby.py (original)
+++ comdev/project-logos/tools/poweredby.py Sun Aug 26 15:29:12 2018
@@ -24,7 +24,7 @@ for project in sorted(projects):
         w = front.width
         h = front.height
         to_edge = math.sqrt(((w/2)*(w/2)) + ((h/2)*(h/2)))
-        while to_edge > 475:
+        while to_edge > 472:
             w *= 0.995
             h *= 0.995
             to_edge = math.sqrt(((w/2)*(w/2)) + ((h/2)*(h/2)))



Mime
View raw message