Fix interpretation of alignmentBaseline (Shouldn't inherit).

This commit is contained in:
Mikael Sand
2017-07-25 08:22:56 +03:00
parent c05c215496
commit b140d673d7
6 changed files with 91 additions and 74 deletions
+2 -2
View File
@@ -51,7 +51,6 @@ export function extractFont(props) {
fontStretch,
textAnchor,
textDecoration,
alignmentBaseline,
letterSpacing,
wordSpacing,
kerning,
@@ -74,7 +73,6 @@ export function extractFont(props) {
fontFamily,
textAnchor,
textDecoration,
alignmentBaseline,
letterSpacing,
wordSpacing,
kerning,
@@ -105,6 +103,7 @@ export default function(props, container) {
y,
dx,
dy,
alignmentBaseline,
} = props;
let {
rotate,
@@ -147,5 +146,6 @@ export default function(props, container) {
rotate,
deltaX,
deltaY,
alignmentBaseline,
};
}