diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-03-28 23:27:45 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-10-09 12:19:45 -0600 |
| commit | c75c5f8254181242a96f3f6652a53cc70f40b13e (patch) | |
| tree | a4df88d0c9d98d3ba7513bc6c679c80a96c112e0 /src/Internal/CornerLayout.hs | |
| parent | 4b448be1c8c4cc1d973561f94b4527962d09bdd7 (diff) | |
| download | rde-c75c5f8254181242a96f3f6652a53cc70f40b13e.tar.gz rde-c75c5f8254181242a96f3f6652a53cc70f40b13e.tar.bz2 rde-c75c5f8254181242a96f3f6652a53cc70f40b13e.zip | |
Fix things that Hlint is complaining about.
Diffstat (limited to 'src/Internal/CornerLayout.hs')
| -rw-r--r-- | src/Internal/CornerLayout.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Internal/CornerLayout.hs b/src/Internal/CornerLayout.hs index 10fbe5b..b3898fc 100644 --- a/src/Internal/CornerLayout.hs +++ b/src/Internal/CornerLayout.hs @@ -31,8 +31,8 @@ instance LayoutClass Corner a where zip ws $ map ( \(Rectangle x' y' w h) -> Rectangle (x + x') (y + y') w h) $ corner : - (splitVert vertRect vn) ++ - (splitHoriz horizRect hn) + splitVert vertRect vn ++ + splitHoriz horizRect hn pureMessage (Corner frac delta) m = fmap resize (fromMessage m) where |