修复桌面端界面显示与稳定性问题
This commit is contained in:
@@ -75,6 +75,11 @@ const verifyTauriConfig = async () => {
|
||||
assert(mainWindow?.decorations === true, "Main desktop window must keep native window decorations enabled.");
|
||||
assert(mainWindow?.titleBarStyle === "Overlay", "Main desktop window must use the macOS overlay title bar.");
|
||||
assert(mainWindow?.hiddenTitle === true, "Main desktop window must hide the native title text.");
|
||||
assert(mainWindow?.backgroundColor === "#f9fafb", "Main desktop window must use a non-black WebView background.");
|
||||
assert(
|
||||
mainWindow?.backgroundThrottling === "disabled",
|
||||
"Main desktop window must disable background suspend to avoid macOS resume black flashes.",
|
||||
);
|
||||
assert(
|
||||
mainWindow?.trafficLightPosition?.x === 16 && mainWindow?.trafficLightPosition?.y === 18,
|
||||
"Main desktop window must keep traffic light controls at x=16 y=18.",
|
||||
|
||||
Reference in New Issue
Block a user