🔧 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
@@ -233,7 +233,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return { x: 1.0, y: 1.0 }; return { x: 1.0, y: 1.0 };
} }
} }
+1 -1
View File
@@ -93,7 +93,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 2.0, y: 2.0}; return {x: 2.0, y: 2.0};
} }
} }
+1 -1
View File
@@ -152,7 +152,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 2.0, y: 2.0}; return {x: 2.0, y: 2.0};
} }
} }
+1 -1
View File
@@ -91,7 +91,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -92,7 +92,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -137,7 +137,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
+1 -1
View File
@@ -91,7 +91,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -99,7 +99,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -108,7 +108,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -144,7 +144,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -128,7 +128,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0 + settings.get_double('matrix-overshoot')}; return {x: 1.0, y: 1.0 + settings.get_double('matrix-overshoot')};
} }
} }
+1 -1
View File
@@ -112,7 +112,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -85,7 +85,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -111,7 +111,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -85,7 +85,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -101,7 +101,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+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 // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.2, y: 1.2}; return {x: 1.2, y: 1.2};
} }
} }
+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 // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // 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'); const scale = 1.0 + 0.5 * settings.get_double('trex-scratch-warp');
return {x: scale, y: scale}; return {x: scale, y: scale};
} }
+1 -1
View File
@@ -88,7 +88,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -100,7 +100,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }
+1 -1
View File
@@ -114,7 +114,7 @@ export default class Effect {
// The getActorScale() is called from extension.js to adjust the actor's size during the // 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 // animation. This is useful if the effect requires drawing something beyond the usual
// bounds of the actor. This only works for GNOME 3.38+. // bounds of the actor. This only works for GNOME 3.38+.
static getActorScale(settings) { static getActorScale(settings, forOpening, actor) {
return {x: 1.0, y: 1.0}; return {x: 1.0, y: 1.0};
} }
} }