mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 20:30:30 +00:00
19 lines
379 B
Swift
19 lines
379 B
Swift
//
|
|
// FancyBlurView.swift
|
|
// StikJIT
|
|
//
|
|
// Created by Stephen on 3/27/25.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
// Custom Blur Effect for macOS/iOS
|
|
struct FancyBlurView: View {
|
|
var body: some View {
|
|
#if os(macOS)
|
|
VisualEffectBlur(material: .sidebar, blendingMode: .behindWindow)
|
|
#else
|
|
VisualEffectBlur(style: .systemUltraThinMaterial)
|
|
#endif
|
|
}
|
|
}
|