Merge branch 'master' into textures
This commit is contained in:
@@ -19,7 +19,7 @@ namespace OpenVulkano::Input
|
||||
|
||||
int GestureTap::GetTouchCount() const
|
||||
{
|
||||
return std::count_if(m_touchMap.begin(), m_touchMap.end(), [](const auto& t) { return t.second; });
|
||||
return std::count_if(m_touchMap.begin(), m_touchMap.end(), [](const std::pair<TouchId, bool>& t) { return t.second; });
|
||||
}
|
||||
|
||||
void GestureTap::Cancel()
|
||||
@@ -84,4 +84,4 @@ namespace OpenVulkano::Input
|
||||
}
|
||||
if (!GetTouchCount()) Reset(); // empty map if no touch
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user