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:
Родитель
07fe994e26
Коммит
0d6c427517
|
@ -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{};
|
||||
|
|
Загрузка…
Ссылка в новой задаче