forced recalculation impleneted

This commit is contained in:
Luis Fernando Molina committed 2019-10-17 22:20:10 +02:00
1 parent 72b04ed01b
commit 318ccaa206
2 files changed
+14 -4

No files matched your search

+7 -2
View File
@@ -642,12 +642,17 @@
}
}
function onOffsetChanged() {
function onOffsetChanged(event) {
try {
if (event !== undefined) {
if (event.recalculate === true) {
recalculate()
return
}
}
if (Math.random() * 100 > 95) {
recalculate()
};
+7 -2
View File
@@ -883,12 +883,17 @@
}
}
function onOffsetChanged() {
function onOffsetChanged(event) {
try {
if (event !== undefined) {
if (event.recalculate === true) {
recalculate()
return
}
}
if (Math.random() * 100 > 95) {
recalculate()
};