🔧 Add missing method inputs

This commit is contained in:
Simon Schneegans
2023-09-09 05:52:39 +02:00
parent 15560abad7
commit 006cc593a3
21 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the
// animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) {
static getActorScale(settings, forOpening, actor) {
const scale = 1.0 + 0.5 * settings.get_double('trex-scratch-warp');
return {x: scale, y: scale};
}