diff options
Diffstat (limited to 'src/Rahm/Desktop/Layout/Pop.hs')
| -rw-r--r-- | src/Rahm/Desktop/Layout/Pop.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Rahm/Desktop/Layout/Pop.hs b/src/Rahm/Desktop/Layout/Pop.hs index 7e3dbd1..e06ff25 100644 --- a/src/Rahm/Desktop/Layout/Pop.hs +++ b/src/Rahm/Desktop/Layout/Pop.hs @@ -37,7 +37,7 @@ data PopMessage where deriving (Message) resizePop :: Float -> PopMessage -resizePop f = PopMessage $ \(Poppable b x y l) -> +resizePop f = PopMessage $ \(Poppable b x y l) -> Poppable b (g $ x + f) (g $ y + f) l where g = max 0 . min 0.45 @@ -52,7 +52,7 @@ poppable :: l a -> Poppable l a poppable = Poppable False 0.05 0.05 instance (LayoutClass l a, Eq a) => LayoutClass (Poppable l) a where - + -- If the current layout is not popped, then just return what the underlying -- layout returned. |