Update src/Reflex/Vty/Widget/Layout.hs

Co-authored-by: pdlla <chippermonky@gmail.com>
This commit is contained in:
Ali Abrar 2021-04-09 13:55:18 -04:00 committed by GitHub
parent cf82eec73c
commit d80fe2dd5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -361,7 +361,7 @@ chunk o r (offset, sz) = case o of
-- | A class of operations for creating screen layouts. -- | A class of operations for creating screen layouts.
class Monad m => HasLayout t m | m -> t where class Monad m => HasLayout t m | m -> t where
-- | Creates a parent element in the current layout with the given size -- | Starts a parent element in the current layout with the given size
-- constraint, which lays out its children according to the provided -- constraint, which lays out its children according to the provided
-- orientation. -- orientation.
axis :: Dynamic t Orientation -> Dynamic t Constraint -> m a -> m a axis :: Dynamic t Orientation -> Dynamic t Constraint -> m a -> m a