mirror of
https://github.com/ilyakooo0/vty.git
synced 2024-11-29 08:49:40 +03:00
combinedOpsForLayers: fix
This commit is contained in:
parent
f5b7222065
commit
bf0874598f
@ -81,7 +81,7 @@ combinedOpsForLayers :: Picture -> DisplayRegion -> ST s (MRowOps s)
|
||||
combinedOpsForLayers pic r
|
||||
| regionWidth r == 0 || regionHeight r == 0 = MVector.new 0
|
||||
| otherwise = do
|
||||
layerOps <- mapM (`buildSpans` layer) (picLayers pic)
|
||||
layerOps <- mapM (`buildSpans` r) (picLayers pic)
|
||||
case layerOps of
|
||||
[] -> fail "empty picture"
|
||||
[ops] -> substituteSkips (picBackground pic) ops
|
||||
|
Loading…
Reference in New Issue
Block a user