Просмотр исходного кода

Fixed a bug in touch simulation in input core

Ivan Safrin 10 лет назад
Родитель
Сommit
5b43e0b918
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      Core/Contents/Source/PolyCoreInput.cpp

+ 3 - 1
Core/Contents/Source/PolyCoreInput.cpp

@@ -212,10 +212,12 @@ namespace Polycode {
 			std::vector<TouchInfo> touches;
 			touches.push_back(touch);
 
+            /*
 			if(!mouseButtons[MOUSE_BUTTON1]) {
 				mouseButtons[MOUSE_BUTTON1] = true;
 				touchesBegan(touch, touches, ticks);
-			}										
+			}
+             */
 			touchesMoved(touch, touches, ticks);
 		}		
 	}