Browse Source

Fix typos in comments

tags/v1.10.90
Samuel Mannehed 3 years ago
parent
commit
7f76b7f1bc
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      vncviewer/GestureHandler.cxx

+ 2
- 2
vncviewer/GestureHandler.cxx View File

@@ -229,7 +229,7 @@ void GestureHandler::handleTouchEnd(int id)
state = GH_NOGESTURE;
}

// Some gesture don't trigger until a touch is released
// Some gestures don't trigger until a touch is released
if (!hasDetectedGesture()) {
// Can't be a gesture that relies on movement
state &= ~(GH_DRAG | GH_TWODRAG | GH_PINCH);
@@ -256,7 +256,7 @@ void GestureHandler::handleTouchEnd(int id)

// Waiting for all touches to release? (i.e. some tap)
if (waitingRelease) {
// Were all touches release roughly the same time?
// Were all touches released at roughly the same time?
if (rfb::msSince(&releaseStart) > GH_MULTITOUCH_TIMEOUT)
state = GH_NOGESTURE;


Loading…
Cancel
Save