[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.
This commit is contained in:
parent
55c95f685f
commit
b2ae5378c7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue