Joshua Gross
23f2ec7e8c
AnimatedDivision: pass zero instead of Inf/NaN in case of division by zero
...
Summary:
Fabric will crash if Inf/NaN values are passed to the native side, so just pass zero to native in those cases. It's an equally (in)valid value and we're already logging the error.
Also, debounce the error so we don't spam the LogBox/console.
This should potentially be changed to a warning.
Changelog: [Internal]
Reviewed By: mdvacca
Differential Revision: D22008980
fbshipit-source-id: 1aef33a13febed04311557718f05ef79bbbcca93
2020-06-11 20:46:48 -07:00
..
2020-03-24 21:47:35 -07:00
2020-05-19 16:36:32 -07:00
2020-06-09 17:48:19 -07:00
2020-06-11 20:46:48 -07:00
2020-03-24 21:47:35 -07:00
2020-05-01 03:47:26 -07:00
2020-06-03 18:22:36 -07:00
2020-06-03 20:48:28 -07:00
2019-12-05 16:06:46 -08:00
2020-05-28 16:17:57 -07:00
2020-06-09 16:35:36 -07:00
2020-06-09 17:48:19 -07:00
2020-05-11 09:01:33 -07:00
2019-11-21 09:42:57 -08:00
2020-05-15 21:55:52 -07:00
2020-06-08 09:07:42 -07:00
2020-03-24 21:47:35 -07:00
2020-06-05 20:55:36 -07:00
2020-06-01 09:40:06 -07:00
2020-04-09 11:01:58 -07:00
2019-11-21 09:42:57 -08:00
2020-05-04 21:28:35 -07:00
2020-06-09 17:48:19 -07:00
2020-04-16 17:29:55 -07:00
2020-06-11 15:44:02 -07:00
2020-06-02 18:00:45 -07:00
2020-06-02 11:15:34 -07:00
2020-05-29 13:57:38 -07:00
2020-06-03 20:48:28 -07:00
2020-04-16 17:29:55 -07:00
2020-04-24 14:35:53 -07:00
2020-03-31 10:23:51 -07:00
2020-02-24 13:09:11 -08:00
2020-04-09 11:01:58 -07:00
2020-05-28 15:44:04 -07:00
2020-04-16 17:29:55 -07:00
2020-05-15 21:55:52 -07:00
2020-05-13 18:18:31 -07:00
2020-03-17 02:11:53 -07:00
2020-05-04 21:28:35 -07:00
2020-04-16 17:29:55 -07:00
2020-03-24 21:47:35 -07:00
2020-03-24 21:47:35 -07:00
2020-04-17 13:03:47 -07:00
2019-10-16 10:06:34 -07:00
2019-10-16 10:06:34 -07:00
2020-05-15 08:52:39 -07:00
2020-04-21 19:15:54 -07:00
2020-05-29 17:36:59 -07:00
2020-03-23 17:21:00 -07:00
2020-06-08 09:07:42 -07:00
2020-03-24 21:47:35 -07:00
2020-04-16 17:29:55 -07:00
2020-03-24 21:47:35 -07:00
2020-03-04 05:01:53 -08:00
2020-02-21 10:34:40 -08:00
2018-02-27 08:42:14 -08:00
2020-03-24 21:47:35 -07:00
2019-05-08 08:48:59 -07:00
2019-08-21 09:58:24 -07:00