appium-webdriveragent 4.1.4 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -317,21 +317,7 @@ static NSString *const FB_KEY_ACTIONS = @"actions";
|
|
|
317
317
|
currentItemIndex:(NSUInteger)currentItemIndex
|
|
318
318
|
error:(NSError **)error
|
|
319
319
|
{
|
|
320
|
-
|
|
321
|
-
if (0 == currentItemIndex) {
|
|
322
|
-
return @[];
|
|
323
|
-
}
|
|
324
|
-
FBBaseGestureItem *preceedingItem = [allItems objectAtIndex:currentItemIndex - 1];
|
|
325
|
-
if (![preceedingItem isKindOfClass:FBPointerUpItem.class] && currentItemIndex < allItems.count - 1) {
|
|
326
|
-
return @[];
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
NSTimeInterval currentOffset = FBMillisToSeconds(self.offset + self.duration);
|
|
330
|
-
XCPointerEventPath *result = [[XCPointerEventPath alloc] initForTouchAtPoint:self.atPosition offset:currentOffset];
|
|
331
|
-
if (currentItemIndex == allItems.count - 1) {
|
|
332
|
-
[result liftUpAtOffset:currentOffset];
|
|
333
|
-
}
|
|
334
|
-
return @[result];
|
|
320
|
+
return @[];
|
|
335
321
|
}
|
|
336
322
|
|
|
337
323
|
@end
|
|
Binary file
|