Skip to content

Commit

Permalink
Fixed the fix for #107
Browse files Browse the repository at this point in the history
  • Loading branch information
aunetx committed Jul 23, 2021
1 parent f19b873 commit fe9c04a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/appfolders.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,17 +198,21 @@ var AppFoldersBlur = class AppFoldersBlur {

if (original_zoomAndFadeIn != null) {
Main.overview._overview.controls._appDisplay._folderIcons.forEach(icon => {
icon._dialog._zoomAndFadeIn = original_zoomAndFadeIn;
if (icon._dialog)
icon._dialog._zoomAndFadeIn = original_zoomAndFadeIn;
});
}
if (original_zoomAndFadeOut != null) {
Main.overview._overview.controls._appDisplay._folderIcons.forEach(icon => {
icon._dialog._zoomAndFadeOut = original_zoomAndFadeOut;
if (icon._dialog)
icon._dialog._zoomAndFadeOut = original_zoomAndFadeOut;
});
}
Main.overview._overview.controls._appDisplay._folderIcons.forEach(icon => {
icon._dialog.remove_effect_by_name("appfolder-blur")
icon._dialog._viewBox.remove_style_class_name('transparent-app-folder-dialogs');
if (icon._dialog) {
icon._dialog.remove_effect_by_name("appfolder-blur")
icon._dialog._viewBox.remove_style_class_name('transparent-app-folder-dialogs');
}
});

this.connections.disconnect_all();
Expand Down

2 comments on commit fe9c04a

@Ferryistaken
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very clean, thanks for this feature

@aunetx
Copy link
Owner Author

@aunetx aunetx commented on fe9c04a Jul 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

Please sign in to comment.