chore(control): prevent closing popups by clicking outside (#20)

Multiple test users closed various popups accidentally by clicking outside and rarely used the feature to close the popup.
This commit is contained in:
2026-01-19 17:40:53 +01:00
committed by GitHub
parent 99643f8029
commit 4acbc96a58
5 changed files with 9 additions and 31 deletions
+2 -3
View File
@@ -126,13 +126,12 @@ export type MenuOption = {
export type PopupContent = {
open: boolean;
snippet: Snippet<[string]> | null;
snippet_arg?: string;
snippet: Snippet<[any]> | Snippet<[]> | Snippet | null | any;
snippet_arg?: any;
title?: string;
title_class?: string;
title_icon?: typeof X | null;
window_class?: string;
closable?: boolean;
};
export type NumberSetting = {