Implement new Pip Layout (with control buttons)

This commit is contained in:
Timo K
2026-03-04 16:47:15 +01:00
parent c98d03e2e1
commit 8db1c4c370
5 changed files with 48 additions and 23 deletions

View File

@@ -1271,7 +1271,7 @@ export function createCallViewModel$(
switchMap((mode) => {
switch (mode) {
case "pip":
return of(false);
return of(true);
case "normal":
case "narrow":
return of(true);

View File

@@ -16,7 +16,8 @@ export function pipLayout(
prevTiles: TileStore,
): [PipLayout, TileStore] {
const update = prevTiles.from(0);
update.registerSpotlight(media.spotlight, true);
// Dont maximise in pip since we want the rounded corners and the footer
update.registerSpotlight(media.spotlight, false);
const tiles = update.build();
return [
{