view Platforms/Wasm/WasmDelayedCallExecutor.js @ 454:50229f6eb4cd

TS: one touch drag is not equivalent to left mouse drag instead of middle mouse drag
author Alain Mazy <alain@mazy.be>
date Fri, 18 Jan 2019 11:52:10 +0100
parents 26b90b110719
children 5055031f4a06
line wrap: on
line source

mergeInto(LibraryManager.library, {
  WasmDelayedCallExecutor_Schedule: function(callable, timeoutInMs/*, payload*/) {
    setTimeout(function() {
      WasmDelayedCallExecutor_ExecuteCallback(callable/*, payload*/);
    }, timeoutInMs);
  }
});