Skip to content

Commit

Permalink
Set clipsToBounds to true
Browse files Browse the repository at this point in the history
macOS Sonoma no longer sets the clipsToBounds property on NSView to
true by default, which causes display glitches.

See: TobyLobster/Inform#43
  • Loading branch information
angstsmurf committed Oct 20, 2023
1 parent eb26b55 commit e09acf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GlkView/GlkWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ - (id)initWithFrame:(CGRect)frame {
if (self) {
border = 4;
scaleFactor = 1.0;
self.clipsToBounds = YES;
}

return self;
Expand Down

0 comments on commit e09acf1

Please sign in to comment.