iOS:fix cannot find onDrag error
This commit is contained in:
parent
fac7f005d8
commit
db1e1279e3
@ -43,7 +43,8 @@ - (void)onDrag:(UIPanGestureRecognizer *)gesture {
|
|||||||
- (void)blendView:(DoricStackView *)view forPropName:(NSString *)name propValue:(id)prop {
|
- (void)blendView:(DoricStackView *)view forPropName:(NSString *)name propValue:(id)prop {
|
||||||
if ([name isEqualToString:@"onDrag"]) {
|
if ([name isEqualToString:@"onDrag"]) {
|
||||||
_onDragFunction = prop;
|
_onDragFunction = prop;
|
||||||
|
} else {
|
||||||
|
[super blendView:view forPropName:name propValue:prop];
|
||||||
}
|
}
|
||||||
[super blendView:view forPropName:name propValue:prop];
|
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
Reference in New Issue
Block a user