Implement new Pip Layout (with control buttons)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user