Don't disable multi-touch in templates [skip ci][skip appveyor]

This commit is contained in:
halx99 2023-09-27 20:12:07 +08:00
parent 96e60b9e19
commit 678ed7ce51
2 changed files with 8 additions and 6 deletions

View File

@ -53,10 +53,10 @@ customization that is not appropriate for viewDidLoad.
multiSampling:ax::GLViewImpl::_multisamplingCount > 0 ? YES : NO
numberOfSamples:ax::GLViewImpl::_multisamplingCount];
// Enable or disable multiple touches
#if !defined(AX_TARGET_OS_TVOS)
[eaglView setMultipleTouchEnabled:NO];
#endif
// uncumment if you want disable multiple touches
// #if !defined(AX_TARGET_OS_TVOS)
// [eaglView setMultipleTouchEnabled:NO];
// #endif
// Set EAGLView as view of RootViewController
self.view = eaglView;

View File

@ -53,8 +53,10 @@ customization that is not appropriate for viewDidLoad.
multiSampling:NO
numberOfSamples:0];
// Enable or disable multiple touches
[eaglView setMultipleTouchEnabled:NO];
// uncumment if you want disable multiple touches
// #if !defined(AX_TARGET_OS_TVOS)
// [eaglView setMultipleTouchEnabled:NO];
// #endif
// Set EAGLView as view of RootViewController
self.view = eaglView;