Obsidian is not open source so it's minified and hard to read. But I was able to find the relevant code and just set the delay to 0.
(I'm away from computer now, I'll see if I can find the code later.)
What also helped is that all Electron apps are just Chromium so you can run the dev tools and the debugger! I think the hotkey is F12, and/or Ctrl+Shift+J.
https://github.com/jonmest/How-To-Tamper-With-Any-Electron-A...
Obsidian is not open source so it's minified and hard to read. But I was able to find the relevant code and just set the delay to 0.
(I'm away from computer now, I'll see if I can find the code later.)
What also helped is that all Electron apps are just Chromium so you can run the dev tools and the debugger! I think the hotkey is F12, and/or Ctrl+Shift+J.