🔧 Make class name unique
This commit is contained in:
+3
-3
@@ -17,7 +17,7 @@ const blacklist = [
|
|||||||
"ksplashqml ksplashqml"
|
"ksplashqml ksplashqml"
|
||||||
];
|
];
|
||||||
|
|
||||||
class Effect {
|
class %NICK%Effect {
|
||||||
constructor() {
|
constructor() {
|
||||||
effect.configChanged.connect(this.loadConfig.bind(this));
|
effect.configChanged.connect(this.loadConfig.bind(this));
|
||||||
effect.animationEnded.connect(this.cleanupForcedRoles.bind(this));
|
effect.animationEnded.connect(this.cleanupForcedRoles.bind(this));
|
||||||
@@ -121,7 +121,7 @@ class Effect {
|
|||||||
if (effects.hasActiveFullScreenEffect) {
|
if (effects.hasActiveFullScreenEffect) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!Effect.isScaleWindow(window)) {
|
if (!%NICK%Effect.isScaleWindow(window)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!window.visible || window.skipsCloseAnimation) {
|
if (!window.visible || window.skipsCloseAnimation) {
|
||||||
@@ -168,4 +168,4 @@ class Effect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
new Effect();
|
new %NICK%Effect();
|
||||||
|
|||||||
Reference in New Issue
Block a user