feat(sidebar): add dialogue selection and copying (#238)

This commit is contained in:
sudacode authored and GitHub committed 2026-09-07 14:03:54 -07:00
1 parent c14c690875
commit 1e5d7747b4
24 files changed
+624 -3

No files matched your search

+3 -1
View File
@@ -27,7 +27,9 @@ function isYomitanPopupInteractionActive(state: RendererState): boolean {
export function syncOverlayMouseIgnoreState(ctx: RendererContext): void {
const shouldKeepWindowInteractive =
isYomitanPopupInteractionActive(ctx.state) || isBlockingOverlayModalOpen(ctx.state);
ctx.dom.subtitleSidebarList?.dataset?.selecting === 'true' ||
isYomitanPopupInteractionActive(ctx.state) ||
isBlockingOverlayModalOpen(ctx.state);
const shouldStayInteractive =
ctx.state.isOverSubtitle ||
ctx.state.isOverSubtitleSidebar ||