Fixed a bug in my override function, updated the code in the post above.
And also found some flaws in my override code.
If the drawString string is replacing a previous WIDER string the `clearRect' area is to narrow, so parts of the previous string will still be visible.
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.
Fixed a bug in my override function, updated the code in the post above.
And also found some flaws in my override code.
If the
drawString
string is replacing a previous WIDER string the `clearRect' area is to narrow, so parts of the previous string will still be visible.Back to the drawing board :-(