feat(projects): support closing tabs with middle mouse button click

This commit is contained in:
wenyuan
2025-10-21 17:28:44 +08:00
committed by Soybean
parent 345aa2932f
commit a8d1e5d266
6 changed files with 34 additions and 3 deletions

View File

@@ -69,6 +69,8 @@ declare namespace App {
height: number;
/** Tab mode */
mode: UnionKey.ThemeTabMode;
/** Whether to close tab by middle click */
closeTabByMiddleClick: boolean;
};
/** Fixed header and tab */
fixedHeaderAndTab: boolean;
@@ -400,6 +402,8 @@ declare namespace App {
cacheTip: string;
height: string;
mode: { title: string } & Record<UnionKey.ThemeTabMode, string>;
closeByMiddleClick: string;
closeByMiddleClickTip: string;
};
header: {
title: string;