play-co / timestep

GNU General Public License v3.0
16 stars 27 forks source link

Updating `fontWeight` property on a `TextView` #101

Open jsdevlover opened 8 years ago

jsdevlover commented 8 years ago

I need to dynamically update fontWeight property of a TextView but this doesn't seem to work for the canvas implementation of TextView. This works perfectly fine for DOM implementation. I am using following method to update -

someTextView.updateOpts({
    fontWeight: 'bold'
});

Any pointers to fix this or a workaround would be appreciated.