lookingGlass: Paint the RedBorderEffect right edge the correct height

It was being painted one box thickness (`width`) too tall so you could
see a rendering glitch below the bottom right corner until now.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1876>
This commit is contained in:
Daniel van Vugt 2021-06-09 14:09:51 +08:00 committed by Marge Bot
parent dc0491ade8
commit d8802aafc4

View File

@ -513,7 +513,7 @@ class RedBorderEffect extends Clutter.Effect {
pipelineNode.add_rectangle(box);
box.set_origin(alloc.get_width() - width, width);
box.set_size(width, alloc.get_height());
box.set_size(width, alloc.get_height() - width);
pipelineNode.add_rectangle(box);
box.set_origin(0, alloc.get_height() - width);