We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45de3f8 commit 2babfc5Copy full SHA for 2babfc5
app/src/pages/_app.tsx
@@ -437,6 +437,17 @@ export default function App() {
437
</Button>
438
)}
439
</div>
440
+ {/* @鹿松狸,鼠标移动到最右上角出现关闭窗口按钮 */}
441
+ {!isMac && !isWindowCollapsing && (
442
+ <div
443
+ className="fixed right-0 top-0 z-50 size-1 cursor-pointer bg-amber-200 transition-all hover:size-14 hover:rounded-bl-2xl hover:bg-red-500"
444
+ onClick={() => {
445
+ console.log("click Right top");
446
+ }}
447
+ >
448
+ <X className="cursor-pointer" />
449
+ </div>
450
+ )}
451
452
{/* 面板列表 */}
453
<AppMenu className="absolute left-4 top-16 z-20" open={isMenuOpen} />
0 commit comments