fix(overlay): prevent field grouping modal from freezing overlay on Hyprland (#138)

This commit is contained in:
2026-07-06 22:13:14 -07:00
committed by GitHub
parent 35ca2afc6f
commit a042b04357
27 changed files with 878 additions and 65 deletions
+7
View File
@@ -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 {