diff --git a/ThinkpadAssistant.xcodeproj/project.pbxproj b/ThinkpadAssistant.xcodeproj/project.pbxproj index dc0ef72..a98d66b 100644 --- a/ThinkpadAssistant.xcodeproj/project.pbxproj +++ b/ThinkpadAssistant.xcodeproj/project.pbxproj @@ -558,7 +558,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 1.2.0; + MARKETING_VERSION = 1.2.1; PRODUCT_BUNDLE_IDENTIFIER = de.mszturc.ThinkpadAssistant; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -583,7 +583,7 @@ "$(inherited)", "@executable_path/../Frameworks", ); - MARKETING_VERSION = 1.2.0; + MARKETING_VERSION = 1.2.1; PRODUCT_BUNDLE_IDENTIFIER = de.mszturc.ThinkpadAssistant; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/ThinkpadAssistant/HUD.swift b/ThinkpadAssistant/HUD.swift index 609af18..a5805d7 100644 --- a/ThinkpadAssistant/HUD.swift +++ b/ThinkpadAssistant/HUD.swift @@ -149,8 +149,8 @@ class HUD: NSView { var statusLabelSize = CGSize.zero if(statusLabel.string.count > 0){ statusLabelSize = statusLabel.string.size(withAttributes: [NSAttributedString.Key.font: statusLabel.font!]) - print(statusLabelSize) + //If it's a single line Statusmessage center it if(statusLabelSize.height < 46.0){ statusLabelSize.height += (46.0 - statusLabelSize.height) / 2 }