Skip to content

Commit 7bdb16a

Browse files
authored
Modify fontSize assignment for testing purposes
Comment out iosFont?.pointSize for testing fontSize handling.
1 parent fec3745 commit 7bdb16a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/text/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export function createSpannableDetails(span: any, index, parentView: any, parent
247247
autoFontSizeEnabled,
248248
iosFont,
249249
realFontSize,
250-
fontSize: fontSize || iosFont?.pointSize,
250+
fontSize: fontSize || /* iosFont?.pointSize */, // testing for fontSize undefined to be defined by canvas
251251
realMaxFontSize,
252252
backgroundColor: backgroundcolor ? (backgroundcolor instanceof Color ? backgroundcolor.ios : new Color(backgroundcolor).ios) : null,
253253
color: textColor ? (textColor instanceof Color ? textColor.ios : new Color(textColor).ios) : null,

0 commit comments

Comments
 (0)