mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-25 07:46:02 +00:00
Fix accept button on macOS 12
This commit is contained in:
1 parent
ec093cf302
commit
d367e0ff34
3 files changed
+12
-7
No files matched your search
@@ -1739,7 +1739,7 @@
|
|||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_BUILD = 122;
|
SHARED_BUILD = 124;
|
||||||
SHARED_VERSION = 2.13;
|
SHARED_VERSION = 2.13;
|
||||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||||
@@ -1802,7 +1802,7 @@
|
|||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
SDKROOT = macosx;
|
SDKROOT = macosx;
|
||||||
SHARED_BUILD = 122;
|
SHARED_BUILD = 124;
|
||||||
SHARED_VERSION = 2.13;
|
SHARED_VERSION = 2.13;
|
||||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||||
SWIFT_COMPILATION_MODE = wholemodule;
|
SWIFT_COMPILATION_MODE = wholemodule;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
"location" : "https://github.com/leonboe1/LUI.git",
|
"location" : "https://github.com/leonboe1/LUI.git",
|
||||||
"state" : {
|
"state" : {
|
||||||
"branch" : "main",
|
"branch" : "main",
|
||||||
"revision" : "0cf19849a8b1779453e54558ce968f5f1c30e92a"
|
"revision" : "5862b50de0ba0dcf61e3796ed4e6baaf194067de"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -306,8 +306,8 @@ fileprivate struct QuickDropToastViewMenuButton<Content: View>: View {
|
|||||||
} label: {
|
} label: {
|
||||||
ToastButtonLabel(title: title, fillsWidth: false)
|
ToastButtonLabel(title: title, fillsWidth: false)
|
||||||
}
|
}
|
||||||
.menuStyle(.borderlessButton)
|
.menuStyle(BorderlessButtonMenuStyle(showsMenuIndicator: false))
|
||||||
.padding(.horizontal, 6)
|
.fixedSize()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -354,8 +354,13 @@ fileprivate struct ActionButtonRow<Content: View>: View {
|
|||||||
@ViewBuilder let content: () -> Content
|
@ViewBuilder let content: () -> Content
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
content()
|
HStack(spacing: 0) {
|
||||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
Spacer(minLength: 0)
|
||||||
|
content()
|
||||||
|
.fixedSize()
|
||||||
|
Spacer(minLength: 0)
|
||||||
|
}
|
||||||
|
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user