Initial commit
This commit is contained in:
1 parent
d8329bf6ed
commit
d22da0f21a
10 files changed
+150
-117
No files matched your search
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// VisualEffectBlur.swift
|
||||
// BerryLeaderboards
|
||||
//
|
||||
// Created by Lncvrt on 6/9/25.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct VisualEffectBlur: NSViewRepresentable {
|
||||
func makeNSView(context: Context) -> NSVisualEffectView {
|
||||
let view = NSVisualEffectView()
|
||||
view.blendingMode = .behindWindow
|
||||
view.material = .underWindowBackground
|
||||
view.state = .active
|
||||
return view
|
||||
}
|
||||
func updateNSView(_ nsView: NSVisualEffectView, context: Context) {}
|
||||
}
|
||||
Reference in new issue
Block a user