1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-27 08:39:00 +02:00

build fix for news

This commit is contained in:
Pomax
2020-09-22 20:32:38 -07:00
parent e7844eae19
commit cc151da718
27 changed files with 427 additions and 300 deletions

View File

@@ -77,6 +77,7 @@ class BaseAPI {
this.addListeners();
this.setSize(width, height);
this.currentPoint = false;
this.frame = 0;
this.setup();
this.draw();
}
@@ -175,7 +176,6 @@ class BaseAPI {
this.stopEvent(evt);
this.cursor.down = false;
this.cursor.move = false;
this.getCursorCoords(evt);
}
/**
@@ -244,6 +244,7 @@ class BaseAPI {
* This is the draw (loop) function.
*/
draw() {
this.frame++;
// console.log(`draw`);
}