Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
williamngan committed May 2, 2024
1 parent a842ce6 commit 9f73686
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5893,6 +5893,7 @@ var CanvasSpace2 = class extends MultiTouchSpace {
this._autoResize = false;
_existed = true;
}
this._ctx = this._canvas.getContext("2d");
if (!_existed) {
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
Expand All @@ -5912,7 +5913,6 @@ var CanvasSpace2 = class extends MultiTouchSpace {
} else {
this._ready(callback);
}
this._ctx = this._canvas.getContext("2d");
}
/**
* Helper function to create a DOM element
Expand Down
2 changes: 1 addition & 1 deletion dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5825,6 +5825,7 @@ var CanvasSpace2 = class extends MultiTouchSpace {
this._autoResize = false;
_existed = true;
}
this._ctx = this._canvas.getContext("2d");
if (!_existed) {
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
Expand All @@ -5844,7 +5845,6 @@ var CanvasSpace2 = class extends MultiTouchSpace {
} else {
this._ready(callback);
}
this._ctx = this._canvas.getContext("2d");
}
/**
* Helper function to create a DOM element
Expand Down
2 changes: 1 addition & 1 deletion dist/pts.js
Original file line number Diff line number Diff line change
Expand Up @@ -5925,6 +5925,7 @@ See https://github.com/williamngan/pts for details. */
this._autoResize = false;
_existed = true;
}
this._ctx = this._canvas.getContext("2d");
if (!_existed) {
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
Expand All @@ -5944,7 +5945,6 @@ See https://github.com/williamngan/pts for details. */
} else {
this._ready(callback);
}
this._ctx = this._canvas.getContext("2d");
}
/**
* Helper function to create a DOM element
Expand Down
Loading

0 comments on commit 9f73686

Please sign in to comment.