🐛 Fix webkit rendering issues

This commit is contained in:
Joshua Seigler 2019-04-04 11:29:16 -04:00
parent 0db7dec44a
commit 7ff2852360
4 changed files with 939 additions and 304 deletions

View file

@ -110,6 +110,7 @@ var App = {
PAINT.big[Math.floor(tx.paintIndex * 12)] :
PAINT.small[Math.floor(tx.paintIndex * 11)]
) + ')';
paint.style.setProperty('-webkit-mask-image', paint.style.maskImage);
paint.style.setProperty('--x', tx.x);
paint.style.setProperty('--y', tx.y);
paint.style.setProperty('--size', Math.log(1 + tx.value)/Math.log(2));