Fix kPointerDataFieldCount reference (flutter/engine#36644)

This commit is contained in:
Michael Goderbauer
2022-10-06 14:52:04 -07:00
committed by GitHub
parent 4568b44f17
commit 60aaff9c52

View File

@@ -9,7 +9,8 @@
namespace flutter {
// If this value changes, update the pointer data unpacking code in hooks.dart.
// If this value changes, update the pointer data unpacking code in
// platform_dispatcher.dart.
static constexpr int kPointerDataFieldCount = 35;
static constexpr int kBytesPerField = sizeof(int64_t);
// Must match the button constants in events.dart.