mirror of
https://github.com/MonitorControl/MonitorControl.git
synced 2026-05-15 14:15:55 -06:00
Fixed slider percentage crash
This commit is contained in:
parent
71b8c5ae51
commit
86f8ab68aa
4 changed files with 5 additions and 5 deletions
|
|
@ -881,7 +881,7 @@
|
|||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 4.3.2;
|
||||
MARKETING_VERSION = 4.3.4;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = app.monitorcontrol.MonitorControl;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
|
@ -918,7 +918,7 @@
|
|||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
MARKETING_VERSION = 4.3.2;
|
||||
MARKETING_VERSION = 4.3.4;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = app.monitorcontrol.MonitorControl;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>7122</string>
|
||||
<string>7123</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ class SliderHandler {
|
|||
slider.setDisplayHighlightItems(false)
|
||||
}
|
||||
if self.percentageBox == self.percentageBox {
|
||||
self.percentageBox?.stringValue = "" + String(Int(value * 100)) + "%"
|
||||
self.percentageBox?.stringValue = "\(String(format: "%.0f%%", Double(value) * 100))"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleShortVersionString</key>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>7122</string>
|
||||
<string>7123</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.utilities</string>
|
||||
<key>LSBackgroundOnly</key>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue