TextureActive - Important Update

PATCH UPDATE (Only needed for apps using TextureActive)

ZIM 015-020 have been patched to update TextureActive so it does not conflict with the new DOM Canvas content property. We renamed our dynamic property to contentTA.

If you are using the ZIM CDN then you are good. Otherwise, either update your version of ZIM or add this at the top of your app:

<script>
// Hotfix for legacy ZIM TextureActive in Chromium/Edge
delete HTMLCanvasElement.prototype.content;
</script>

Chromium have added a content property to the canvas and we happened to be using a dynamic content property that was conflicting.

Thanks @Yan for the find. We had noticed on the weekend that a TextureActive was not working on our laptop. We checked on a desktop and it was fine. So we had intended to see what it was today... that explains it!

1 Like