aboutsummaryrefslogtreecommitdiffstats
path: root/Spiral.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Spiral.hs')
-rw-r--r--Spiral.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Spiral.hs b/Spiral.hs
index c17f2cd..6701bb6 100644
--- a/Spiral.hs
+++ b/Spiral.hs
@@ -33,7 +33,7 @@ blend scale ratios = zipWith (+) ratios scaleFactors
spiral :: Rational -> Layout
spiral scale = Layout { doLayout = fibLayout,
- modifyLayout = \m -> fmap resize $ fromMessage m }
+ modifyLayout = \m -> return $ fmap resize $ fromMessage m }
where
fibLayout sc ws = return $ zip ws rects
where ratios = blend scale . reverse . take (length ws - 1) . mkRatios $ tail fibs