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:
parent
dc0491ade8
commit
d8802aafc4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user