mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-19 12:04:18 +02:00
fix blur on macos
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import type { WindowCapabilities, WindowDisplayServer } from '../types/windowCapabilities'
|
||||
|
||||
export type MacWindowBlurMaterial = 'hud' | 'content'
|
||||
|
||||
export function resolveMacWindowBlurMaterial(useDarkColors: boolean): MacWindowBlurMaterial {
|
||||
return useDarkColors ? 'hud' : 'content'
|
||||
}
|
||||
|
||||
interface WindowCapabilityResolutionOptions {
|
||||
platform: string
|
||||
argv?: readonly string[]
|
||||
|
||||
Reference in New Issue
Block a user