Fix T70252: Reverting to macOS 10.11 compatible API.
This commit is contained in:
@@ -388,7 +388,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(GHOST_SystemCocoa *systemCocoa,
|
||||
[m_window setAcceptsMouseMovedEvents:YES];
|
||||
|
||||
NSView *contentview = [m_window contentView];
|
||||
[contentview setAllowedTouchTypes:(NSTouchTypeMaskDirect | NSTouchTypeMaskIndirect)];
|
||||
[contentview setAcceptsTouchEvents:YES];
|
||||
|
||||
[m_window registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType,
|
||||
NSStringPboardType,
|
||||
|
||||
Reference in New Issue
Block a user