Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 93b3ace0 authored by David Edmundson's avatar David Edmundson

[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
parent 4ecbacff
......@@ -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
}]
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment