forced recalculation impleneted

This commit is contained in:
Luis Fernando Molina committed 2019-10-17 22:20:35 +02:00
1 parent 6687336a27
commit c703c1a07a
4 files changed
+28 -8

No files matched your search

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