goldfire/CanvasInput

The function destroy doesn't delete the events created when the input is created

Opened this issue · 0 comments

I just figureout that when I destroy the textbox the events associated aren't removed giving to me, in my loop game, the error:
CanvasInput.js:1284 Uncaught TypeError: Cannot set property 'font' of null(…)
every time I click with mouse.
can you please help me to solve this problem? ty