To prevent errors on macOS, the save dialogue no longer displays a file type drop-down.
It will be displayed in the future when there are no more errors.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.9.3</string>
|
||||
<string>0.9.4</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
|
||||
Binary file not shown.
@@ -118,10 +118,7 @@ struct ContentView: View {
|
||||
structSize: Int32(MemoryLayout<LibUniWinC.PanelSettings>.size),
|
||||
flags: 0,
|
||||
titleText: titlePtr.baseAddress,
|
||||
|
||||
// M1 macOS 14.4.1 の環境で accessoryView を使うとエラーとなってしまう?
|
||||
filterText: filterPtr.baseAddress,
|
||||
|
||||
filterText: filterPtr.baseAddress,
|
||||
initialFile: nil,
|
||||
initialDirectory: nil,
|
||||
defaultExt: nil
|
||||
|
||||
@@ -245,7 +245,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 14.0;
|
||||
MACOSX_DEPLOYMENT_TARGET = 11.0;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.kirurobo.DebugUniWinC;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
@@ -275,7 +275,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 14.0;
|
||||
MACOSX_DEPLOYMENT_TARGET = 11.0;
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.kirurobo.DebugUniWinC;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
@@ -417,7 +417,7 @@
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2019-2023 kirurobo. All rights reserved.";
|
||||
INFOPLIST_KEY_NSPrincipalClass = "";
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles";
|
||||
MARKETING_VERSION = 0.9.3;
|
||||
MARKETING_VERSION = 0.9.4;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.kirurobo.LibUniWinC;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
@@ -442,7 +442,7 @@
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2019-2023 kirurobo. All rights reserved.";
|
||||
INFOPLIST_KEY_NSPrincipalClass = "";
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles";
|
||||
MARKETING_VERSION = 0.9.3;
|
||||
MARKETING_VERSION = 0.9.4;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.kirurobo.LibUniWinC;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
|
||||
@@ -65,7 +65,11 @@ class CustomPanelHelper {
|
||||
|
||||
customAccessoryView.addSubview(label)
|
||||
customAccessoryView.addSubview(popup)
|
||||
panel.accessoryView = customAccessoryView
|
||||
|
||||
// 2024/05/05 現在、NSSavePanel では accessoryView を設定するとエラーでダイアログを開けない
|
||||
if (panel is NSOpenPanel) {
|
||||
panel.accessoryView = customAccessoryView
|
||||
}
|
||||
|
||||
hasSubView = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user