Removed require() node specific function call. #168
+143
−154
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sorry for bundling all the fixes at once but I don't have enough time to break everything apart:
This pull request fixes the following:
For issue: #167
require()node function call completely breaking the ES6/UMD bundleFor issue: #165 and #169
Here's a video demonstrating that it works as it should now (you can compare it with the video from the issue: issue):
Desktop.2026.02.04.-.05.28.55.26.mp4
For issue: #170
Here's a video demonstrating that it works as it should now (you can compare it to the video from the issue):
ziq6di.mp4
With these changes, we're moving away from the
mouseevents in favor ofpointerevents, with fewer overlapping events that could conflict with eachother.As a bonus, since switching to
pointerbased events, support for pen devices such as Apple Stylus and basically any other pen (but not only) pointing device is greatly improved.