From 1879ca741e553655fc7f63b142310bb3b575f83b Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Wed, 9 Jun 2021 14:21:21 +0800 Subject: [PATCH] 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: --- js/ui/lookingGlass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index 7604ae4a6..a9f0512db 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -521,7 +521,7 @@ class RedBorderEffect extends Clutter.Effect { pipelineNode.add_rectangle(box); 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); } });