windingwind / zotero-plugin-toolkit

Toolkit for Zotero Plugin Developers.
https://www.npmjs.com/package/zotero-plugin-toolkit
MIT License
115 stars 13 forks source link

guide: do not recognize window out-of-focus as the next step #52

Closed northword closed 5 months ago

northword commented 5 months ago

In the current guide module, the guide goes to the next step when clicking next, when clicking at the mask, or when the window is out of focus, which doesn't make sense to me. The window being out of focus could mean that the user has gone on to something else without finishing reading the content of the step, and the guide should remain as it is instead of going to the next step.

Also, would it make more sense to bind esc to exit the entire guide process instead of the next step?