[Bug report] lineSpacing


#1

Issue

Text.lineSpacing returns 0 when using the default lineSpacing (24). It correctly returns after changing lineSpacing.

My code :

const { Text } = require(‘scenegraph’) ;

const textNode = selection.items[0] ;
console.log(textNode.lineSpacing) ;

Expected Behavior

24

Actual Behavior

0


Reading the lineSpacing, when it is dynamically calculated by XD