[effects/fadedesktop] Fade to the correct opacity
Summary: An opacity animation calls multiplyOpacity not setOpacity, therefore we want to always fade between 0 and 1, not up to the window opacity. Reviewers: #kwin, zzag Reviewed By: #kwin, zzag Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D15476
This commit is contained in:
parent
4ecbacff77
commit
93b3ace067
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ effects['desktopChanged(int,int)'].connect(function(oldDesktop, newDesktop) {
|
|||
duration: duration,
|
||||
animations: [{
|
||||
type: Effect.Opacity,
|
||||
to: w.opacity,
|
||||
to: 1.0,
|
||||
from: 0.0
|
||||
}]
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue