[gnome] Update extensions for v46

This commit is contained in:
2024-04-03 12:59:14 -04:00
parent 3fb1ec63ae
commit 7421cdba8f
251 changed files with 15759 additions and 3153 deletions

View File

@ -82,10 +82,9 @@ export const ScreenshotBlur = class ScreenshotBlur {
brightness: this.settings.screenshot.CUSTOMIZE
? this.settings.screenshot.BRIGHTNESS
: this.settings.BRIGHTNESS,
sigma: this.settings.screenshot.CUSTOMIZE
radius: (this.settings.screenshot.CUSTOMIZE
? this.settings.screenshot.SIGMA
: this.settings.SIGMA
* monitor.geometry_scale,
: this.settings.SIGMA) * 2 * monitor.geometry_scale,
mode: Shell.BlurMode.ACTOR
});
@ -117,7 +116,7 @@ export const ScreenshotBlur = class ScreenshotBlur {
set_sigma(s) {
this.effects.forEach(effect => {
effect.blur_effect.sigma = s * effect.blur_effect;
effect.blur_effect.radius = s * 2 * effect.blur_effect;
});
}
@ -150,6 +149,7 @@ export const ScreenshotBlur = class ScreenshotBlur {
if (actor._blur_actor) {
actor.remove_child(actor._blur_actor);
actor._blur_actor.destroy();
delete actor._blur_actor;
}
});
this.effects = [];