[effects/morphingpopups] Use enumerators from the DataRole enum
Summary: Use Effect.WindowForceBackgroundContrastRole and Effect.WindowForceBlurRole instead of integers to improve readability. Reviewers: #kwin, broulik Reviewed By: broulik Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D15709
This commit is contained in:
parent
fe430b12e8
commit
646032a99d
1 changed files with 2 additions and 4 deletions
|
@ -58,10 +58,8 @@ var morphingEffect = {
|
|||
return;
|
||||
}
|
||||
|
||||
//WindowForceBackgroundContrastRole
|
||||
window.setData(7, true);
|
||||
//WindowForceBlurRole
|
||||
window.setData(5, true);
|
||||
window.setData(Effect.WindowForceBackgroundContrastRole, true);
|
||||
window.setData(Effect.WindowForceBlurRole, true);
|
||||
|
||||
var couldRetarget = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue