implement showsresizeindicator (#311)

This commit is contained in:
johnathan-becker 2024-11-01 14:10:29 -05:00 committed by GitHub
parent 5cd432374c
commit 820492495a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2109,10 +2109,7 @@ titleWithRepresentedFilename(NSString *representedFilename)
- (BOOL) showsResizeIndicator
{
// TODO
NSLog(@"Method %s is not implemented for class %s",
"showsResizeIndicator", "NSWindow");
return YES;
return ([self styleMask] & NSResizableWindowMask) ? YES : NO;
}
- (void) setShowsResizeIndicator: (BOOL)show