background: Correctly apply the matrix in the fallback border code.
This commit is contained in:
parent
cbf62c5b2d
commit
4df1cd6315
|
@ -69,7 +69,7 @@ function background._use_fallback_algorithm()
|
||||||
cairo.Rectangle { x = 0, y = 0, width = mat.x0 + width, height = mat.y0 + height })
|
cairo.Rectangle { x = 0, y = 0, width = mat.x0 + width, height = mat.y0 + height })
|
||||||
|
|
||||||
local mask_cr = cairo.Context(mask)
|
local mask_cr = cairo.Context(mask)
|
||||||
mask_cr:translate(mat.x0, mat.y0)
|
mask_cr:set_matrix(mat)
|
||||||
|
|
||||||
-- Clear the surface.
|
-- Clear the surface.
|
||||||
mask_cr:set_operator(cairo.Operator.CLEAR)
|
mask_cr:set_operator(cairo.Operator.CLEAR)
|
||||||
|
|
Loading…
Reference in New Issue