1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-15 14:09:36 +02:00

Performance increase when canvas bigger than maxSize.

Fixes #93.
This commit is contained in:
kkapsner 2016-12-01 20:40:28 +01:00
parent af6fcd8026
commit 7b7583afe0
3 changed files with 13 additions and 3 deletions

View file

@ -56,7 +56,7 @@
setRandomSupplyByType(prefs("rng"));
var fake = changedFunction.fakeGenerator(prefs, function(messageId){
notify({url: window.location.href, errorStack: error.stack, messageId});
});
}, original);
switch (fake){
case true:
return original;