Fix glitch on macOS 12

This commit is contained in:
Leon Böttger committed 2026-02-11 19:05:39 +01:00
1 parent 3ac2280dc6
commit 71bddf6541
3 files changed
+8 -6

No files matched your search

+4 -4
View File
@@ -1743,8 +1743,8 @@
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SHARED_BUILD = 119;
SHARED_VERSION = 2.12.2;
SHARED_BUILD = 120;
SHARED_VERSION = 2.13;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -1806,8 +1806,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
SHARED_BUILD = 119;
SHARED_VERSION = 2.12.2;
SHARED_BUILD = 120;
SHARED_VERSION = 2.13;
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_EMIT_LOC_STRINGS = YES;
+1 -1
View File
@@ -21,7 +21,7 @@
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "QuickDrop"
"value" : "QuickDropGitHub"
}
}
},
+3 -1
View File
@@ -488,7 +488,9 @@ class ReceiveModel: ObservableObject, InboundAppDelegate {
defer: false)
window.isOpaque = false
window.backgroundColor = .clear
window.hasShadow = true
// Use SwiftUI shadow on the toast view itself. On macOS 12, window
// shadow can reveal a rectangular artifact in transparent trailing space.
window.hasShadow = false
window.level = .statusBar
window.collectionBehavior = [.canJoinAllSpaces, .fullScreenAuxiliary]
window.contentView = hostingView