File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ export default function App() {
271271 ) }
272272 >
273273 { /* mac的红绿灯,发现如果没有内容会看不见,里面加一个点儿 */ }
274- { isMac && (
274+ { isMac && ! useNativeTitleBar && (
275275 < Button className = "right-4 top-4 flex items-center gap-2 active:scale-100" >
276276 < div
277277 className = "size-3 rounded-full bg-red-500 active:bg-red-800"
@@ -476,7 +476,7 @@ export default function App() {
476476 ) }
477477 </ div >
478478 { /* @鹿松狸,鼠标移动到最右上角出现关闭窗口按钮 */ }
479- { ! isMac && ! isWindowCollapsing && (
479+ { ! isMac && ! isWindowCollapsing && ! useNativeTitleBar && (
480480 < div
481481 className = "fixed right-0 top-0 z-50 size-1 cursor-pointer rounded-bl-2xl bg-amber-200 transition-all hover:size-14 hover:bg-red-500"
482482 onClick = { ( ) => {
You can’t perform that action at this time.
0 commit comments