Internal: reverse order of reported extents so that they are ordered general to specific

This commit is contained in:
Jonathan Daugherty 2016-10-23 22:37:08 -07:00
parent 5546659a0f
commit 7b842e4d51

View File

@ -37,7 +37,7 @@ renderFinal aMap layerRenders sz chooseCursor rs = (newRS, picWithBg, theCursor,
-- See https://github.com/coreyoconnor/vty/issues/95
picWithBg = pic { V.picBackground = V.Background ' ' V.defAttr }
layerCursors = (^.cursorsL) <$> layerResults
layerExtents = (^.extentsL) <$> layerResults
layerExtents = reverse $ (^.extentsL) <$> layerResults
theCursor = chooseCursor $ concat layerCursors
-- | After rendering the specified widget, crop its result image to the