mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-12-04 17:36:43 +03:00
Internal: reverse order of reported extents so that they are ordered general to specific
This commit is contained in:
parent
5546659a0f
commit
7b842e4d51
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user