mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +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;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = macosx;
|
||||
SHARED_BUILD = 122;
|
||||
SHARED_BUILD = 124;
|
||||
SHARED_VERSION = 2.13;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
@@ -1802,7 +1802,7 @@
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
MTL_FAST_MATH = YES;
|
||||
SDKROOT = macosx;
|
||||
SHARED_BUILD = 122;
|
||||
SHARED_BUILD = 124;
|
||||
SHARED_VERSION = 2.13;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"location" : "https://github.com/leonboe1/LUI.git",
|
||||
"state" : {
|
||||
"branch" : "main",
|
||||
"revision" : "0cf19849a8b1779453e54558ce968f5f1c30e92a"
|
||||
"revision" : "5862b50de0ba0dcf61e3796ed4e6baaf194067de"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -306,8 +306,8 @@ fileprivate struct QuickDropToastViewMenuButton<Content: View>: View {
|
||||
} label: {
|
||||
ToastButtonLabel(title: title, fillsWidth: false)
|
||||
}
|
||||
.menuStyle(.borderlessButton)
|
||||
.padding(.horizontal, 6)
|
||||
.menuStyle(BorderlessButtonMenuStyle(showsMenuIndicator: false))
|
||||
.fixedSize()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -354,8 +354,13 @@ fileprivate struct ActionButtonRow<Content: View>: View {
|
||||
@ViewBuilder let content: () -> Content
|
||||
|
||||
var body: some View {
|
||||
content()
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
HStack(spacing: 0) {
|
||||
Spacer(minLength: 0)
|
||||
content()
|
||||
.fixedSize()
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user