diff --git a/data/gtk/style.css b/data/gtk/style.css index 4ae6ecf..72c1868 100644 --- a/data/gtk/style.css +++ b/data/gtk/style.css @@ -9,9 +9,4 @@ color: @light_1; background-color: @dark_5; opacity: 0.8; -} - -/* This is to hide a weird GdkPixbuf upscaling glitch */ -#details_view_blurred_cover { - transform: scale(1.2); } \ No newline at end of file diff --git a/data/gtk/window.blp b/data/gtk/window.blp index 1a88e1c..831faab 100644 --- a/data/gtk/window.blp +++ b/data/gtk/window.blp @@ -35,7 +35,6 @@ template CartridgesWindow : Adw.ApplicationWindow { Overlay details_view { name: "details_view"; - overflow: hidden; [overlay] Box details_view_box { @@ -220,7 +219,6 @@ template CartridgesWindow : Adw.ApplicationWindow { } Picture details_view_blurred_cover { - name: "details_view_blurred_cover"; keep-aspect-ratio: false; } } diff --git a/src/game_cover.py b/src/game_cover.py index 0643ae0..0c5ad66 100644 --- a/src/game_cover.py +++ b/src/game_cover.py @@ -73,8 +73,8 @@ class GameCover: with Image.open(self.path) as image: image = ( image.convert("RGB") - .resize((10, 15)) - .filter(ImageFilter.GaussianBlur(2)) + .resize((100, 150)) + .filter(ImageFilter.GaussianBlur(20)) ) tmp_path = Gio.File.new_tmp(None)[0].get_path()