1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-25 23:59:02 +02:00

bug fix on the event cancellation, which was causing scroll jumps and input-change cancellation

This commit is contained in:
Pomax
2020-08-10 22:30:45 -07:00
parent 28c9c9bd45
commit 62636acc27
21 changed files with 314 additions and 129 deletions

View File

@@ -177,6 +177,7 @@ class GraphicsAPI extends BaseAPI {
* custom element scoped querySelector
*/
find(qs) {
if (!this.element) return false;
return enrich(this.element.querySelector(qs));
}
@@ -184,6 +185,7 @@ class GraphicsAPI extends BaseAPI {
* custom element scoped querySelectorAll
*/
findAll(qs) {
if (!this.element) return false;
return Array.from(this.element.querySelectorAll(qs)).map((e) => enrich(e));
}