client icon indicating copy to clipboard operation
client copied to clipboard

Configuration object - cursor position tracking frequency not customizable

Open dpirrott opened this issue 2 years ago • 2 comments

I'm trying to change the cursorUpdateFrequency key within the browserEvents object inside the configuration object but no matter what I change it to it always updates every 200ms.

I realized the only way for me to update the cursorUpdateFrequency was to go into the logui.bundle.js and manually set the following line: (e = Te.browserEventsConfig.get("cursorUpdateFrequency", 200)) to (e = Te.browserEventsConfig.get("cursorUpdateFrequency", 1000)) in order to change the frequency to once every second.

Is there anything I'm doing wrong by setting it in the configuration object? because the following doesn't update the cursorUpdateFrequency. Here's the browserEvents section of the configuration object:

 browserEvents: {
      blockEventBubbling: true,
      eventsWhileScrolling: true,
      URLChanges: true,
      contextMenu: true,
      pageFocus: true,
      trackCursor: true,
      cursorUpdateFrequency: 1000,
      cursorLeavingPage: true,
 }

I can manage temporarily by updating the logui.bundle.js file directly but it would be much more convenient to have the configuration object settings applied.

dpirrott avatar Jul 21 '22 20:07 dpirrott