Blur game covers properly

This commit is contained in:
kramo
2023-05-05 16:59:56 +02:00
parent 92e818af64
commit 491bc4919c
4 changed files with 48 additions and 31 deletions

View File

@@ -9,4 +9,9 @@
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);
}

View File

@@ -35,6 +35,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
Overlay details_view {
name: "details_view";
overflow: hidden;
[overlay]
Box details_view_box {
@@ -219,6 +220,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
}
Picture details_view_blurred_cover {
name: "details_view_blurred_cover";
keep-aspect-ratio: false;
}
}