diff --git a/build/darwin/Info.dev.plist b/build/darwin/Info.dev.plist index 14121ef..005c9fb 100644 --- a/build/darwin/Info.dev.plist +++ b/build/darwin/Info.dev.plist @@ -8,7 +8,7 @@ CFBundleExecutable {{.OutputFilename}} CFBundleIdentifier - com.wails.{{.Name}} + com.wails.{{.Name}}.dev CFBundleVersion {{.Info.ProductVersion}} CFBundleGetInfoString diff --git a/frontend/src/utils/appearance.ts b/frontend/src/utils/appearance.ts index 96ba44a..02c739d 100644 --- a/frontend/src/utils/appearance.ts +++ b/frontend/src/utils/appearance.ts @@ -40,6 +40,10 @@ const getPlatformFactors = () => { export const normalizeOpacityForPlatform = (opacity: number | undefined): number => { const raw = clamp(opacity ?? DEFAULT_OPACITY, MIN_OPACITY, MAX_OPACITY); + // 用户显式拉到 100%% 时,必须保持完全不透明,不能再被平台映射压低。 + if (raw >= MAX_OPACITY - 1e-6) { + return MAX_OPACITY; + } const factors = getPlatformFactors(); if (!factors) { return raw;