Skip to content

Commit

Permalink
Make Tyria.render private
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim committed Jul 9, 2024
1 parent e65ff64 commit 640f984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tyria/src/Tyria.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class Tyria {
debug = false
debugLastViewOptions?: ViewOptions;

renderQueue = new RenderQueue(this.render.bind(this));
renderQueue = new RenderQueue(this.#render.bind(this));

handlers: HandlerManager;
imageManager: ImageManager;
Expand Down Expand Up @@ -83,7 +83,7 @@ export class Tyria {
this.renderQueue.queue(priority);
}

private render() {
#render() {
// we are doing it, cancel any pending renders
this.renderQueue.cancel();

Expand Down

0 comments on commit 640f984

Please sign in to comment.