From cecacbf482f90d0ed56ce320fbb557b22cd3d7b0 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 13 Apr 2022 00:22:08 -0600 Subject: Add ConsistentMosaic, a wrapper to make Mosaic more consistent. Right now, Mosaic operate on the windows itself. But this means that swapping windows can act very unintuitively. This wrapper changes mosaci to work on window /positions/ rather than windows themselves, so the window in position 1 will always be the same size, and when moved to position 2, it will inherit that position's size. There's still some buggy behavior, but it is in general much more intuitive than it was before. --- package.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'package.yaml') diff --git a/package.yaml b/package.yaml index 7e7244c..f4f5603 100644 --- a/package.yaml +++ b/package.yaml @@ -40,3 +40,4 @@ dependencies: - monad-loops - data-default - linear + - bimap -- cgit