window-list: Fix window previews

St.Bin no longer expands its child automatically. Unless do we do
explicitly, the preview actor will be allocated with a size of 0x0.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/304>
This commit is contained in:
Florian Müllner
2024-02-19 19:59:29 +01:00
parent a326fa737e
commit b00f5c4604
@@ -117,6 +117,8 @@ class WorkspaceThumbnail extends St.Button {
child: new Clutter.Actor({
layout_manager: new WorkspaceLayout(),
clip_to_allocation: true,
x_expand: true,
y_expand: true,
}),
});