Fix crash in ScrollView.scrollEventThrottle

Summary: Fix crash when casting `scrollEventThrottle`. `scrollEventThrottle` is passed as double from javascript.

Reviewed By: shergin

Differential Revision: D17626401

fbshipit-source-id: 0707a5a440fe7887e316054b455ba972a9291a18
This commit is contained in:
Samuel Susla 2019-09-30 03:53:54 -07:00 коммит произвёл Facebook Github Bot
Родитель 07fe994e26
Коммит 0d6c427517
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -40,7 +40,7 @@ class ScrollViewProps final : public ViewProps {
const bool scrollsToTop{true};
const bool showsHorizontalScrollIndicator{true};
const bool showsVerticalScrollIndicator{true};
const int scrollEventThrottle{};
const Float scrollEventThrottle{};
const Float zoomScale{1.0};
const EdgeInsets contentInset{};
const EdgeInsets scrollIndicatorInsets{};