Closed jessegreenberg closed 3 months ago
The fontSize
setter from scenery is undefined. I am not sure why. I will try a new build of phet-lib to see if the problem goes away.
Fixed in main. It turns out RichText doesn't support setSize
and setFontFamily
, but it does support setFont
, so this was fixed by creating a new Font object and setting it to the Text in the generated functions for size and family.
Closing.
This didn't work as I expected:
Whatever the value for setFontSize, nothing changes.