mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-05 22:51:52 -07:00
Column.hs: rm whitespace
This commit is contained in:
@@ -61,9 +61,9 @@ columnLayout (Column q) rect stack = zip ws rects
|
|||||||
|
|
||||||
mkRect :: Rectangle -> (Dimension,Position) -> Rectangle
|
mkRect :: Rectangle -> (Dimension,Position) -> Rectangle
|
||||||
mkRect (Rectangle xs ys ws _) (h,y) = Rectangle xs (ys+fromIntegral y) ws h
|
mkRect (Rectangle xs ys ws _) (h,y) = Rectangle xs (ys+fromIntegral y) ws h
|
||||||
|
|
||||||
xn :: Int -> Rectangle -> Float -> Int -> Dimension
|
xn :: Int -> Rectangle -> Float -> Int -> Dimension
|
||||||
xn n (Rectangle _ _ _ h) q k = if q==1 then
|
xn n (Rectangle _ _ _ h) q k = if q==1 then
|
||||||
h `div` (fromIntegral n)
|
h `div` (fromIntegral n)
|
||||||
else
|
else
|
||||||
round ((fromIntegral h)*q^(n-k)*(1-q)/(1-q^n))
|
round ((fromIntegral h)*q^(n-k)*(1-q)/(1-q^n))
|
||||||
|
Reference in New Issue
Block a user