You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
343 B
JavaScript
13 lines
343 B
JavaScript
effects.windowAdded.connect(function(w) {
|
|
w.anim1 = effect.animate(w, Effect.Scale, 100, 1.4, 0.2, 0, QEasingCurve.OutCubic);
|
|
sendTestResponse(typeof(w.anim1) == "number");
|
|
});
|
|
|
|
effects.windowUnminimized.connect(function(w) {
|
|
cancel(w.anim1);
|
|
});
|
|
|
|
effects.windowMinimized.connect(function(w) {
|
|
retarget(w.anim1, 1.5, 200);
|
|
});
|