publish: Change main live canvas to act like a mempool

generated from commit 66283fcfe2
This commit is contained in:
Joshua Seigler 2019-04-08 11:36:53 -04:00
parent 44f32dc49c
commit 12a0a5a4f3
2 changed files with 1 additions and 8 deletions

View file

@ -19108,13 +19108,6 @@ function () {
paint.style.setProperty('--size', Math.log(1 + tx.value) / Math.log(2));
paint.style.setProperty('--rotation', tx.rotation * 360 + 'deg');
paint.style.setProperty('--color', tx.color);
if (addToMempool && _this3.mempoolRefs.unshift(paint) > 200) {
var toDelete = _this3.mempoolRefs.pop();
toDelete.remove();
}
target.appendChild(paint);
};
}

File diff suppressed because one or more lines are too long