Skip to content

Commit

Permalink
Merge branch 'release/0.21.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
gee1k committed Dec 11, 2020
2 parents d33e3de + c2bea61 commit 7096215
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 31 deletions.
16 changes: 8 additions & 8 deletions uPic.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20201114;
CURRENT_PROJECT_VERSION = 20201211;
DEVELOPMENT_TEAM = W863J6W8DZ;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "$(SRCROOT)/uPic/Supporting Files/Info.plist";
Expand All @@ -1258,7 +1258,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 0.21.0;
MARKETING_VERSION = 0.21.1;
PRODUCT_BUNDLE_IDENTIFIER = com.svend.uPic;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1279,7 +1279,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20201114;
CURRENT_PROJECT_VERSION = 20201211;
DEVELOPMENT_TEAM = W863J6W8DZ;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "$(SRCROOT)/uPic/Supporting Files/Info.plist";
Expand All @@ -1288,7 +1288,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 0.21.0;
MARKETING_VERSION = 0.21.1;
PRODUCT_BUNDLE_IDENTIFIER = com.svend.uPic;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1305,7 +1305,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20201114;
CURRENT_PROJECT_VERSION = 20201211;
DEVELOPMENT_TEAM = W863J6W8DZ;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = uPicFinderExtension/Info.plist;
Expand All @@ -1315,7 +1315,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 0.21.0;
MARKETING_VERSION = 0.21.1;
PRODUCT_BUNDLE_IDENTIFIER = com.svend.uPic.uPicFinderExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1332,7 +1332,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 20201114;
CURRENT_PROJECT_VERSION = 20201211;
DEVELOPMENT_TEAM = W863J6W8DZ;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = uPicFinderExtension/Info.plist;
Expand All @@ -1342,7 +1342,7 @@
"@executable_path/../../../../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 0.21.0;
MARKETING_VERSION = 0.21.1;
PRODUCT_BUNDLE_IDENTIFIER = com.svend.uPic.uPicFinderExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
17 changes: 0 additions & 17 deletions uPic.xcodeproj/xcshareddata/xcschemes/uPic.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,6 @@
ReferencedContainer = "container:uPic.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "-u"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "http://qiniu.svend.cc/test/image-20200410130539430.png"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
<EnvironmentVariables>
<EnvironmentVariable
key = "CG_PDF_VERBOSE"
value = "1"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
1 change: 1 addition & 0 deletions uPic/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ extension AppDelegate {
width: 16,
height: 16)
button.addSubview(indicator)
indicator.controlTint = .blueControlTint
}
// 初始化任务栏进度图标
indicator.minValue = 0.0
Expand Down
8 changes: 4 additions & 4 deletions uPic/PreferencesWindow/Base.lproj/Preferences.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
</textFieldCell>
</textField>
<stackView distribution="fill" orientation="horizontal" alignment="centerY" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hpV-OT-Zx9">
<rect key="frame" x="20" y="100" width="134" height="20"/>
<rect key="frame" x="20" y="100" width="128" height="20"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zSd-NZ-L7B">
<rect key="frame" x="-2" y="2" width="34" height="16"/>
Expand All @@ -564,7 +564,7 @@
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="pHb-90-42w">
<rect key="frame" x="35" y="-4" width="103" height="25"/>
<rect key="frame" x="35" y="-4" width="97" height="25"/>
<popUpButtonCell key="cell" type="push" title="Single" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="dGv-rY-F7Z" id="ETf-eR-mih">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
Expand Down Expand Up @@ -1484,10 +1484,10 @@ Gw
<image name="NSPreferencesGeneral" width="32" height="32"/>
<image name="NSRemoveTemplate" width="14" height="4"/>
<image name="about" width="512" height="513"/>
<image name="color" width="22" height="22"/>
<image name="color" width="16" height="16"/>
<image name="downloadOnAppStore" width="120" height="40"/>
<image name="host" width="64" height="64"/>
<image name="single" width="22" height="22"/>
<image name="single" width="16" height="16"/>
<image name="uPicForiOS" width="64" height="64"/>
</resources>
</document>
4 changes: 2 additions & 2 deletions uPic/Views/HistoryRecord/HistoryThumbnailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ class HistoryThumbnailView: NSView {
center.addObserver(self, selector: #selector(boundsDidChangeNotification(notification:)), name: NSView.boundsDidChangeNotification, object: mainScrollView.contentView)

clearHistoryButton = NSButton(image: NSImage(named: "cleanButton")!, target: self, action: #selector(clearHistory))
clearHistoryButton.appearance = NSAppearance(named: NSAppearance.Name.aqua)

clearHistoryButton.bezelStyle = .smallSquare
clearHistoryButton.isBordered = false
clearHistoryButton.toolTip = "\("Clear history record".localized) \(historyList.count)"
clearHistoryButton.isTransparent = true
addSubview(clearHistoryButton)

preImageViewController = HistoryPreviewViewController()
Expand Down

0 comments on commit 7096215

Please sign in to comment.