mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 17:34:07 +08:00
Include pointScaleFactor into the equality method of LayoutMetrics
Summary: Previously the pointScaleFactor field was not being compared properly in LayoutMetrics equality method. This diff fixes that Reviewed By: shergin Differential Revision: D15303555 fbshipit-source-id: 8863e9e1fbad15b43400afc32b97bf6d252cbe55
This commit is contained in:
committed by
Facebook Github Bot
parent
184073813e
commit
ac9195a506
@@ -45,7 +45,7 @@ struct LayoutMetrics {
|
||||
rhs.borderWidth,
|
||||
rhs.displayType,
|
||||
rhs.layoutDirection,
|
||||
this->pointScaleFactor);
|
||||
rhs.pointScaleFactor);
|
||||
}
|
||||
|
||||
bool operator!=(const LayoutMetrics &rhs) const {
|
||||
|
||||
Reference in New Issue
Block a user