Skip to content

Commit

Permalink
Fix compatibility issues when linking against Sonoma's SDK. Fixes #633
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Jun 9, 2024
1 parent b2d1086 commit 0b77662
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 28 deletions.
15 changes: 0 additions & 15 deletions HexFiend/HFHexTextView.h

This file was deleted.

13 changes: 0 additions & 13 deletions HexFiend/HFHexTextView.m

This file was deleted.

6 changes: 6 additions & 0 deletions HexFiend/HFLineCountingView.m
Original file line number Diff line number Diff line change
Expand Up @@ -672,4 +672,10 @@ + (NSUInteger)digitsRequiredToDisplayLineNumber:(unsigned long long)lineNumber i
}
}

/* Compatibility with Sonoma */
+ (bool)clipsToBounds
{
return true;
}

@end
6 changes: 6 additions & 0 deletions HexFiend/HFRepresenterTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1761,4 +1761,10 @@ - (BOOL)validateMenuItem:(NSMenuItem *)item {
else return YES;
}

/* Compatibility with Sonoma */
+ (bool)clipsToBounds
{
return true;
}

@end

0 comments on commit 0b77662

Please sign in to comment.