Finetuning of usage within an iFrame

This commit is contained in:
Pieter Vander Vennet 2024-06-27 03:39:04 +02:00
parent 45235cab0f
commit a281381284
9 changed files with 192 additions and 119 deletions

View file

@ -36,6 +36,11 @@ export class MenuState {
public readonly filtersPanelIsOpened: UIEventSource<boolean> = new UIEventSource<boolean>(false)
public readonly privacyPanelIsOpened: UIEventSource<boolean> = new UIEventSource<boolean>(false)
/**
* Standalone copyright panel
*/
public readonly copyrightPanelIsOpened: UIEventSource<boolean> = new UIEventSource<boolean>(false)
public readonly communityIndexPanelIsOpened: UIEventSource<boolean> = new UIEventSource(false)
public readonly allToggles: {
toggle: UIEventSource<boolean>
@ -105,6 +110,11 @@ export class MenuState {
name: "privacy",
showOverOthers: true,
},
{
toggle: this.copyrightPanelIsOpened,
name: "copyright",
showOverOthers: true,
},
{
toggle: this.communityIndexPanelIsOpened,
name: "community",