diff --git a/plugins/chunter-resources/src/components/chat/navigator/NavItem.svelte b/plugins/chunter-resources/src/components/chat/navigator/NavItem.svelte index 19189fc5e6..aba8a60fec 100644 --- a/plugins/chunter-resources/src/components/chat/navigator/NavItem.svelte +++ b/plugins/chunter-resources/src/components/chat/navigator/NavItem.svelte @@ -102,7 +102,7 @@
{:else if secondaryNotifyMarker}
- +
{/if} diff --git a/plugins/love-resources/src/components/ControlExt.svelte b/plugins/love-resources/src/components/ControlExt.svelte index ae7499f9f0..223055ceb0 100644 --- a/plugins/love-resources/src/components/ControlExt.svelte +++ b/plugins/love-resources/src/components/ControlExt.svelte @@ -301,7 +301,8 @@ } function checkActiveVideo (loc: Location, video: boolean, room: Ref | undefined): void { - const isOpened = $sidebarStore.widgetsState.has(love.ids.VideoWidget) + const widgetState = $sidebarStore.widgetsState.get(love.ids.VideoWidget) + const isOpened = widgetState !== undefined if (room === undefined) { if (isOpened) { @@ -319,11 +320,15 @@ { room }, - loc.path[2] !== loveId + { active: loc.path[2] !== loveId, openedByUser: false } ) } - if (loc.path[2] === loveId && $sidebarStore.widget === love.ids.VideoWidget) { + if ( + loc.path[2] === loveId && + $sidebarStore.widget === love.ids.VideoWidget && + widgetState?.openedByUser !== true + ) { minimizeSidebar() } } else { diff --git a/plugins/notification-resources/src/components/NotifyMarker.svelte b/plugins/notification-resources/src/components/NotifyMarker.svelte index b9cf69670a..e4e5e19469 100644 --- a/plugins/notification-resources/src/components/NotifyMarker.svelte +++ b/plugins/notification-resources/src/components/NotifyMarker.svelte @@ -14,7 +14,7 @@ -->