Fast Forward Bug Fix
This commit is contained in:
1 parent
afbfc891e5
commit
f75e42c5be
1 file changed
+10
+10
@@ -66,6 +66,7 @@
|
||||
recalculateScale(callBackFunction);
|
||||
|
||||
fileSequence.eventHandler.listenToEvent("Files Updated", onFilesUpdated); // Only the first sequence is supported right now.
|
||||
viewPort.eventHandler.listenToEvent("Offset Changed", onOffsetChanged);
|
||||
|
||||
callBackFunction(GLOBAL.DEFAULT_OK_RESPONSE);
|
||||
|
||||
@@ -139,6 +140,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
function onOffsetChanged() {
|
||||
|
||||
if (Math.random() * 100 > 95) {
|
||||
|
||||
recalculate()
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
function recalculate(callBackFunction) {
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user