Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug causing duplicate object IDs
The ID values for new "Selection" objects were being generated by the line "String.fromCharCode(65 + Math.floor(Math.random() * 26)) + Date.now()", which led to the Auto-detection feature frequently skipping pages in large documents. The unique IDs are now simply generated by converting Math.random() to a string.
- Loading branch information