mirror of https://github.com/axmolengine/axmol.git
Fix for UIEditBox password on Mac/iOS (Montery+/15+). (#995)
Fix for UIEditBox password on Mac/iOS (Montery+/15+).
This commit is contained in:
parent
e25f4d4f77
commit
24c3afa524
|
@ -27,7 +27,7 @@
|
|||
#import <AppKit/AppKit.h>
|
||||
#include "ui/UIEditBox/Mac/CCUITextInput.h"
|
||||
|
||||
@interface CCUIPasswordTextField : NSTextField <CCUITextInput> {
|
||||
@interface CCUIPasswordTextField : NSSecureTextField <CCUITextInput> {
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -123,7 +123,9 @@
|
|||
|
||||
+(void)load
|
||||
{
|
||||
[self setCellClass:[RSVerticallyCenteredSecureTextFieldCell class]];
|
||||
// [self setCellClass:[RSVerticallyCenteredSecureTextFieldCell class]];
|
||||
//Verwijderd na upgrade Xcode 13.1 (ios 15/monterey)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue