mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-07-27 16:49:51 -07:00
fix(overlay): prevent field grouping modal from freezing overlay on Hyprland (#138)
This commit is contained in:
@@ -565,6 +565,13 @@ function registerModalOpenHandlers(): void {
|
||||
});
|
||||
},
|
||||
);
|
||||
window.electronAPI.onKikuFieldGroupingCancel(() => {
|
||||
runGuarded('kiku:field-grouping-cancel', () => {
|
||||
// Main already settled the choice (timeout/failure); just close the dialog. Using the
|
||||
// plain close path avoids sending a second, redundant response back to main.
|
||||
kikuModal.closeKikuFieldGroupingModal();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function registerKeyboardCommandHandlers(): void {
|
||||
|
||||
Reference in New Issue
Block a user