mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-07 05:16:19 +00:00
Fix fontDiffer
This commit is contained in:
@@ -19,13 +19,19 @@ function fontDiffer(a, b) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return a.fontSize !== b.fontSize ||
|
||||
a.fontFamily !== b.fontFamily ||
|
||||
return (
|
||||
a.fontStyle !== b.fontStyle ||
|
||||
a.fontVariant !== b.fontVariant ||
|
||||
a.fontWeight !== b.fontWeight ||
|
||||
a.kerning !== b.kerning ||
|
||||
a.fontStretch !== b.fontStretch ||
|
||||
a.fontSize !== b.fontSize ||
|
||||
a.fontFamily !== b.fontFamily ||
|
||||
a.textAnchor !== b.textAnchor ||
|
||||
a.textDecoration !== b.textDecoration ||
|
||||
a.letterSpacing !== b.letterSpacing ||
|
||||
a.wordSpacing !== b.wordSpacing ||
|
||||
a.letterSpacing !== b.letterSpacing;
|
||||
a.kerning !== b.kerning
|
||||
);
|
||||
}
|
||||
|
||||
const ViewBoxAttributes = {
|
||||
|
||||
Reference in New Issue
Block a user