From bdc2567c9fa936179a57f77750fec6db1de505e7 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Fri, 7 Feb 2020 15:16:03 -0700 Subject: Add accordion and circle layouts --- src/Internal/LayoutDraw.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Internal/LayoutDraw.hs') diff --git a/src/Internal/LayoutDraw.hs b/src/Internal/LayoutDraw.hs index 4a980b4..7dc2087 100644 --- a/src/Internal/LayoutDraw.hs +++ b/src/Internal/LayoutDraw.hs @@ -71,7 +71,7 @@ drawPng l = do setLineCap LineCapButt setLineJoin LineJoinMiter - forM_ (zip (map (second padR) rects) colors) $ + forM_ (reverse $ zip (map (second padR) rects) colors) $ \((wind, Rectangle x y w h), (r, g, b)) -> do setSourceRGBA r g b 1 -- cgit