mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-27 00:29:00 +02:00
figured out how to reuse sketches with data-attribute parameters
This commit is contained in:
@@ -100,7 +100,6 @@ class BaseAPI {
|
||||
// of its own mouseMove handling.
|
||||
if (this.movable.length && this.currentPoint && !this.redrawing) {
|
||||
this.redraw();
|
||||
this.redrawing = false;
|
||||
}
|
||||
})
|
||||
);
|
||||
@@ -256,6 +255,7 @@ class BaseAPI {
|
||||
redraw() {
|
||||
this.redrawing = true;
|
||||
this.draw();
|
||||
this.redrawing = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user