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:
@@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user