1 decade ago by coreysnyder
I'd been including 'impact.debug.debug' in my requires() in my main.js for a while. Just now when trying to port my app into Ejecta I found this line was causing me issues. The console in Xcode reads "Attempted to assign a readonly property. at line 80 in lib/impact/debug/graph-panel.js".
That line is: span.style.top = height.round() + 'px';
I suppose that makes sense since its dropping the UI for the debug outside of the single canvas element that Ejecta supports. Any plans on creating a Ejecta friendly version which you can define where in your game it places it?
That line is: span.style.top = height.round() + 'px';
I suppose that makes sense since its dropping the UI for the debug outside of the single canvas element that Ejecta supports. Any plans on creating a Ejecta friendly version which you can define where in your game it places it?