lookingGlass: Avoid a little bit of RedBorderEffect overdraw
The left edge of the box was redrawing the bottom left corner when the bottom edge had already done so. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1876>
This commit is contained in:
parent
d8802aafc4
commit
1879ca741e
@ -521,7 +521,7 @@ class RedBorderEffect extends Clutter.Effect {
|
|||||||
pipelineNode.add_rectangle(box);
|
pipelineNode.add_rectangle(box);
|
||||||
|
|
||||||
box.set_origin(0, width);
|
box.set_origin(0, width);
|
||||||
box.set_size(width, alloc.get_height() - width);
|
box.set_size(width, alloc.get_height() - width * 2);
|
||||||
pipelineNode.add_rectangle(box);
|
pipelineNode.add_rectangle(box);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user