From f9b82c608631313ccb424deeec2901bb43a29f2b Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Wed, 2 Feb 2022 13:13:16 +0100 Subject: [PATCH 1/2] :beetle: Try fixing #86 --- extension.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/extension.js b/extension.js index 024f1c9..ccaaec4 100644 --- a/extension.js +++ b/extension.js @@ -460,9 +460,12 @@ class Extension { shader.set_uniform_value('uSizeY', actor.height); }); - transition.connect('completed', () => { - actor.remove_effect_by_name(`burn-my-windows-effect`); - }); + // Remove the effect if the animation finished or was interrupted. + if (forOpening) { + transition.connect('stopped', () => { + actor.remove_effect_by_name(`burn-my-windows-effect`); + }); + } } // Finally, ensure that all animation times are set properly so that other extensions From 6d85ce893b69dc2983d1e40a9ccfc5e93c518d09 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Wed, 2 Feb 2022 13:13:29 +0100 Subject: [PATCH 2/2] :memo: Add changelog entry --- docs/changelog.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 083a2bd..0e6f575 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,25 @@ # Changelog of the Burn-My-Windows Extension +## [Burn My Window 11](https://github.com/schneegans/Burn-My-Windows/releases/tag/v11) + +**Release Date:** TBD + +#### Enhancements + +* There are several new translations! Thanks a lot to all the translators! We now have translations for: + * German + * English + * Czech + * Dutch + * French + * Italian + * Norwegian Bokmål + * Spanish + +#### Fixes + + * Fixed an issue which caused corrupted windows when trying to maximize windows while the window-open animation was still running (#82, #86). + ## [Burn My Window 10](https://github.com/schneegans/Burn-My-Windows/releases/tag/v10) **Release Date:** 2022-01-31