mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-07-29 07:21:33 -07:00
fix(overlay): restore macOS Yomitan popup focus without breaking click-away (#125)
This commit is contained in:
@@ -139,6 +139,7 @@ export type RendererState = {
|
||||
keyboardSelectionVisible: boolean;
|
||||
keyboardSelectedWordIndex: number | null;
|
||||
yomitanPopupVisible: boolean;
|
||||
isOverYomitanPopup: boolean;
|
||||
primarySubtitleMode: PrimarySubMode;
|
||||
};
|
||||
|
||||
@@ -254,6 +255,7 @@ export function createRendererState(): RendererState {
|
||||
keyboardSelectionVisible: false,
|
||||
keyboardSelectedWordIndex: null,
|
||||
yomitanPopupVisible: false,
|
||||
isOverYomitanPopup: false,
|
||||
primarySubtitleMode: 'visible',
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user