mirror of https://github.com/axmolengine/axmol.git
Don't disable multi-touch in templates [skip ci][skip appveyor]
This commit is contained in:
parent
96e60b9e19
commit
678ed7ce51
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue