From c38dfb6a179bcc4aa595ff433d955f249c986dcf Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 19 Sep 2013 09:24:11 +0800 Subject: [PATCH] issue #2087: Setting default touch priority to -1 for CCInputDelegate --- extensions/CocoStudio/Components/CCInputDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/CocoStudio/Components/CCInputDelegate.cpp b/extensions/CocoStudio/Components/CCInputDelegate.cpp index 17af953837..658b2101c8 100644 --- a/extensions/CocoStudio/Components/CCInputDelegate.cpp +++ b/extensions/CocoStudio/Components/CCInputDelegate.cpp @@ -33,7 +33,7 @@ InputDelegate::InputDelegate(void) , _accelerometerListener(nullptr) , _keypadEnabled(false) , _keyboardListener(nullptr) -, _touchPriority(0) +, _touchPriority(-1) , _touchMode(Touch::DispatchMode::ALL_AT_ONCE) {