Skip to content

Commit

Permalink
Version 2.5.12
Browse files Browse the repository at this point in the history
Fix for issue #1329, corrupted opponent board on macOS Sonoma
  • Loading branch information
fmoraes74 committed Nov 6, 2023
1 parent 579c328 commit 2561b20
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.5.12
## Fixes
- Fixed issue with corrupted battlegrounds opponent board on macOS Sonoma (issue #1329)

# 2.5.11
## New
- Improve secret handling across different formats
Expand Down
8 changes: 4 additions & 4 deletions HSTracker.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3954,12 +3954,12 @@
);
LIBRARY_SEARCH_PATHS = "$(PROJECT_DIR)/downloaded-frameworks/mono/runtimes/osx-x64/native";
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 2.5.11;
MARKETING_VERSION = 2.5.12;
OTHER_CFLAGS = "$(inherited)";
OTHER_CODE_SIGN_FLAGS = "--deep";
OTHER_LDFLAGS = (
"$(inherited)",
"-ld64",
"-ld_classic",
);
OTHER_SWIFT_FLAGS = "-DDEBUG $(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = net.hearthsim.hstracker;
Expand Down Expand Up @@ -4002,11 +4002,11 @@
);
LIBRARY_SEARCH_PATHS = "$(PROJECT_DIR)/downloaded-frameworks/mono/runtimes/osx-x64/native";
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 2.5.11;
MARKETING_VERSION = 2.5.12;
OTHER_CODE_SIGN_FLAGS = "--deep";
OTHER_LDFLAGS = (
"$(inherited)",
"-ld64",
"-ld_classic",
);
PRODUCT_BUNDLE_IDENTIFIER = net.hearthsim.hstracker;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
13 changes: 6 additions & 7 deletions HSTracker/UIs/Battlegrounds/BattlegroundsDetailsWindow.xib
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
Expand All @@ -18,7 +18,6 @@
<outlet property="minion6" destination="Ygh-q2-qZy" id="0Mr-29-3Fu"/>
<outlet property="minion7" destination="ra0-y4-fHg" id="Uhz-G8-rcH"/>
<outlet property="notFought" destination="MZH-Z9-69b" id="gHu-gc-jhK"/>
<outlet property="notFound" destination="MZH-Z9-69b" id="mp9-d4-kLa"/>
<outlet property="quest1" destination="qYs-87-hG2" id="ynW-mW-bNN"/>
<outlet property="quest2" destination="sOK-KT-fYq" id="HTo-3m-Nzg"/>
<outlet property="questView" destination="rsq-Zm-Bqr" id="R8p-EK-5oL"/>
Expand All @@ -37,7 +36,7 @@
<windowStyleMask key="styleMask" miniaturizable="YES" resizable="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="196" y="240" width="1184" height="270"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1025"/>
<rect key="screenRect" x="0.0" y="0.0" width="1728" height="1079"/>
<view key="contentView" autoresizesSubviews="NO" wantsLayer="YES" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="0.0" width="1184" height="270"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand Down Expand Up @@ -132,15 +131,15 @@
<real value="3.4028234663852886e+38"/>
</customSpacing>
</stackView>
<textField hidden="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MZH-Z9-69b" userLabel="You have not fought this opponent">
<textField hidden="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MZH-Z9-69b" userLabel="You have not fought this opponent">
<rect key="frame" x="48" y="63" width="494" height="22"/>
<textFieldCell key="cell" lineBreakMode="clipping" alignment="center" title="You have not fought this opponent" id="YP2-eO-eyd">
<font key="font" metaFont="system" size="16"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="deviceRGB"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField hidden="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cox-jk-Otc" userLabel="No minions on board">
<textField hidden="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cox-jk-Otc" userLabel="No minions on board">
<rect key="frame" x="48" y="63" width="494" height="22"/>
<textFieldCell key="cell" lineBreakMode="clipping" alignment="center" title="No minions on board" id="1xq-7w-9a2">
<font key="font" metaFont="system" size="16"/>
Expand Down Expand Up @@ -185,7 +184,7 @@
<color key="borderColor" red="0.25098039215686274" green="0.2627450980392157" blue="0.27058823529411763" alpha="1" colorSpace="deviceRGB"/>
<color key="fillColor" red="0.13725490196078433" green="0.15294117647058825" blue="0.16470588235294117" alpha="0.90000000000000002" colorSpace="custom" customColorSpace="deviceRGB"/>
</box>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DKL-z7-u0X" userLabel="BoardAge">
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DKL-z7-u0X" userLabel="BoardAge">
<rect key="frame" x="-2" y="-5" width="596" height="19"/>
<shadow key="shadow" blurRadius="1">
<size key="offset" width="2" height="2"/>
Expand Down
3 changes: 3 additions & 0 deletions HSTracker/UIs/Battlegrounds/BattlegroundsMinionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ class BattlegroundsMinionView: NSView {

init() {
super.init(frame: NSRect.zero)
clipsToBounds = true
}

override init(frame frameRect: NSRect) {
super.init(frame: frameRect)
clipsToBounds = true
}

required init?(coder: NSCoder) {
super.init(coder: coder)
clipsToBounds = true
}

override func draw(_ dirtyRect: NSRect) {
Expand Down

0 comments on commit 2561b20

Please sign in to comment.