Skip to content

Commit ceafabb

Browse files
committed
fix(android): fix for font sie
1 parent e87244f commit ceafabb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ui-canvaslabel/canvaslabel.android.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ export class Group extends GroupBase {
2323
this.mNative = null;
2424
return;
2525
}
26-
this.mNative = this._ssb = createNativeAttributedString(this as any, this, parentCanvas, false);
26+
this.mNative = this._ssb = createNativeAttributedString(this as any, this, parentCanvas, false, 1, 1);
27+
// let ssb = this._ssb;
2728
// if (!ssb) {
2829
// this._ssb = ssb = NSPan.createSpannableStringBuilder();
2930
// } else {

0 commit comments

Comments
 (0)