Fix pinch gesture

This commit is contained in:
2023-10-19 14:24:53 +02:00
parent d9dc2ea79f
commit c950e6ae86
5 changed files with 34 additions and 30 deletions

View File

@@ -132,7 +132,7 @@ namespace OpenVulkano::Input
void GesturePan::TouchMoved(const Touch& touch)
{
if (m_pendingTouches.size() > 0)
if (!m_pendingTouches.empty())
{
bool isPending = false;
bool isActive = false;