aframevr / a-painter

🎨 Paint in VR in your browser.
https://aframe.io/a-painter/
MIT License
680 stars 200 forks source link

Fixed the arrayNumbersToFixed method #245

Closed mcragun closed 6 years ago

mcragun commented 6 years ago

The points and the time don't show up during download because of a function in the utils.js library. I changed so the method returns properly and everything downloads now. Changed:

    function arrayNumbersToFixed (array) {
        for (var i = 0; i < array.length; i++) {
            array[i] = numberToFixed(array[i]);
        }
        return this;
    }

to this:

    function arrayNumbersToFixed (array) {
        for (var i = 0; i < array.length; i++) {
            array[i] = numberToFixed(array[i]);
        }
        return array;
    }
fernandojsg commented 6 years ago

Thanks!

fernandojsg commented 6 years ago

nice catch :)