mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
Fix glitch on macOS 12
This commit is contained in:
1 parent
3ac2280dc6
commit
71bddf6541
3 files changed
+8
-6
No files matched your search
@@ -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;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "new",
|
||||
"value" : "QuickDrop"
|
||||
"value" : "QuickDropGitHub"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user