Daily `arc lint --take CLANGFORMAT`
Reviewed By: zertosh Differential Revision: D29983521 fbshipit-source-id: bebd38e79180c544c8c1986605cc1af4b1f4df98
This commit is contained in:
Родитель
5df92fb06c
Коммит
ce44104b2b
|
@ -174,8 +174,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithTarget : (id)target action : (SEL)act
|
|||
// have a value of `1.0 / nativeTouch.maximumPossibleForce`)?
|
||||
if (RCTForceTouchAvailable()) {
|
||||
reactTouch[@"force"] = @(RCTZeroIfNaN(nativeTouch.force / nativeTouch.maximumPossibleForce));
|
||||
}
|
||||
else if (nativeTouch.type == UITouchTypePencil) {
|
||||
} else if (nativeTouch.type == UITouchTypePencil) {
|
||||
reactTouch[@"force"] = @(RCTZeroIfNaN(nativeTouch.force / nativeTouch.maximumPossibleForce));
|
||||
reactTouch[@"altitudeAngle"] = @(RCTZeroIfNaN(nativeTouch.altitudeAngle));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче