workspace-indicator: 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:43:21 +01:00
parent fcd5618321
commit a326fa737e

View File

@@ -123,6 +123,8 @@ class WorkspaceThumbnail extends St.Button {
child: new Clutter.Actor({
layout_manager: new WorkspaceLayout(),
clip_to_allocation: true,
x_expand: true,
y_expand: true,
}),
});