aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/CornerLayout.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-03-29 12:32:25 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commit03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f (patch)
tree112116f82364714a544028614c83a2f843453a09 /src/Internal/CornerLayout.hs
parent4df5a598a5ce83bee4669fd5cc3ab6a3ef60b2fe (diff)
downloadrde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.tar.gz
rde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.tar.bz2
rde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.zip
Remove trailing whitespace
Diffstat (limited to 'src/Internal/CornerLayout.hs')
-rw-r--r--src/Internal/CornerLayout.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Internal/CornerLayout.hs b/src/Internal/CornerLayout.hs
index b3898fc..5545aef 100644
--- a/src/Internal/CornerLayout.hs
+++ b/src/Internal/CornerLayout.hs
@@ -21,15 +21,15 @@ instance LayoutClass Corner a where
vn = (length ws - 1) `div` 2
hn = (length ws - 1) - vn
- in
+ in
case ws of
[a] -> [(a, screen)]
[a, b] -> [
(a, Rectangle x y w' h),
(b, Rectangle (x + fromIntegral w') y (w - w') h)]
- _ ->
+ _ ->
zip ws $ map (
- \(Rectangle x' y' w h) -> Rectangle (x + x') (y + y') w h) $
+ \(Rectangle x' y' w h) -> Rectangle (x + x') (y + y') w h) $
corner :
splitVert vertRect vn ++
splitHoriz horizRect hn