Fix for UIEditBox password on Mac/iOS (Montery+/15+). (#995)

Fix for UIEditBox password on Mac/iOS (Montery+/15+).
This commit is contained in:
pietpukkel 2022-12-27 07:26:09 +01:00 committed by GitHub
parent e25f4d4f77
commit 24c3afa524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,7 @@
#import <AppKit/AppKit.h>
#include "ui/UIEditBox/Mac/CCUITextInput.h"
@interface CCUIPasswordTextField : NSTextField <CCUITextInput> {
@interface CCUIPasswordTextField : NSSecureTextField <CCUITextInput> {
}
@end

View File

@ -123,7 +123,9 @@
+(void)load
{
[self setCellClass:[RSVerticallyCenteredSecureTextFieldCell class]];
// [self setCellClass:[RSVerticallyCenteredSecureTextFieldCell class]];
//Verwijderd na upgrade Xcode 13.1 (ios 15/monterey)
}