From b2ae5378c70c87610bb46ef52cb5c71d55bd80f0 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Fri, 12 Feb 2021 11:30:45 -0700 Subject: [PATCH] [effects/windowaperture] Hide windows in corners Reducing the oppacity of these windows causes them to appear as phantoms in the corners of the screen. They look quite odd on top of anything else in the corners of the screen, such as any Plasma panels. However making them 100% opaque doesn;t work either, since then they look interactive, but they're not, and can't be made so due to the scripting API used here. So our only real option to remove the weirdness is to make them 100% transparent, and therefore show the entirety of the desktop with no sign that the effect is in use. --- src/effects/windowaperture/package/contents/code/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/windowaperture/package/contents/code/main.js b/src/effects/windowaperture/package/contents/code/main.js index 8d930e7f6b..8506e51edf 100644 --- a/src/effects/windowaperture/package/contents/code/main.js +++ b/src/effects/windowaperture/package/contents/code/main.js @@ -158,7 +158,7 @@ var badBadWindowsEffect = { to: { value1: tx, value2: ty } },{ type: Effect.Opacity, - to: 0.2 + to: 0.0 }] }); } else { @@ -176,7 +176,7 @@ var badBadWindowsEffect = { from: { value1: tx, value2: ty } },{ type: Effect.Opacity, - from: 0.2 + from: 0.0 }] }); }