fix
This commit is contained in:
parent
20fa9e51a0
commit
39f6c47bc6
1 changed files with 2 additions and 2 deletions
|
@ -1555,7 +1555,7 @@ proc fillHits(
|
||||||
image.unsafe[x, y] = blendNormal(backdrop, rgbx)
|
image.unsafe[x, y] = blendNormal(backdrop, rgbx)
|
||||||
|
|
||||||
of MaskBlend:
|
of MaskBlend:
|
||||||
var prevFilledTo: int
|
var prevFilledTo = startX
|
||||||
walkHits hits, numHits, windingRule, y, image.width:
|
walkHits hits, numHits, windingRule, y, image.width:
|
||||||
block: # Clear any gap between this fill and the previous fill
|
block: # Clear any gap between this fill and the previous fill
|
||||||
let gapBetween = fillStart - prevFilledTo
|
let gapBetween = fillStart - prevFilledTo
|
||||||
|
@ -1599,7 +1599,7 @@ proc fillHits(
|
||||||
fillUnsafe(mask.data, 255, mask.dataIndex(fillStart, y), fillLen)
|
fillUnsafe(mask.data, 255, mask.dataIndex(fillStart, y), fillLen)
|
||||||
|
|
||||||
of MaskBlend:
|
of MaskBlend:
|
||||||
var prevFilledTo: int
|
var prevFilledTo = startX
|
||||||
walkHits hits, numHits, windingRule,y, mask.width:
|
walkHits hits, numHits, windingRule,y, mask.width:
|
||||||
let gapBetween = fillStart - prevFilledTo
|
let gapBetween = fillStart - prevFilledTo
|
||||||
if gapBetween > 0:
|
if gapBetween > 0:
|
||||||
|
|
Loading…
Reference in a new issue