@NebbishHacker
Fair enough, your suggestion is cleaner.
But I wanted a "fix" for the drawString problem.
Found my inspiration here http://forum.espruino.com/conversations/302392/ and thought "hey that's clever" and coded away.
I'm a lazy coder, so in this way I did not have to change my code ;-)
And if Gordon comes up with a fix to "drawString" I delete the override and I'm ready.
@gerardwr started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@NebbishHacker
Fair enough, your suggestion is cleaner.
But I wanted a "fix" for the drawString problem.
Found my inspiration here http://forum.espruino.com/conversations/302392/ and thought "hey that's clever" and coded away.
I'm a lazy coder, so in this way I did not have to change my code ;-)
And if Gordon comes up with a fix to "drawString" I delete the override and I'm ready.