Miko Meow
Miko Meow
> But if we allowed a user to specify a their own function, that would be more in keeping with other customization in Smoosic. Love it! > Good idea. Also...
Thanks :) I'm noticing in `_setModifierBoxes` (which takes ~3s on Bilongo) a lot of time is spent with Sizzle queries, it looks like in that method you could replace with...
@AaronDavidNewman Nice, glad to hear that helped :) The zoom update sounds like a major win, I imagine that'll make it nearly instantaneous after the initial render 🚀
It seems like changing viewport (resizing the window) should also not need a re-render?
Another thought comes to mind (inspecting the performance tab on chrome)... is it possible to not add the SVG to the screen, until all the sub-elements (notes, staves, ect) have...
Using DocumentFragment does improve performance, as it prevents page reflows: https://blog.hao.dev/web-api-appendchild-v-s-createdocumentfragment As far as how much it would improve performance, it's hard to say! But, if it's easy to replace...
@MrPand-21 For npm version last build was 2-weeks ago, fix was posted 4-days ago.
I ended up replacing toURL with: ``` toURL: function() { return URL.createObjectURL(this.file_.blob_); } ``` I think it makes more sense to make the URL actually work, otherwise is a bit...
How about something like this? ``` toURL: function() { var blob = this.file_.blob_; blob.objectURL = blob.objectURL || URL.createObjectURL(blob); return blob.objectURL; } ``` In FileWriter.write a new blob is created already,...