Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrm committed Dec 4, 2023
1 parent d7e96c7 commit 9cb5262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/visGeometry/ColorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ColorHandler {
this.idColorMapping = new Map<number, number>();
// will be set by setColorArray, but need to initialize
// so that typescript doesn't complain
this.colorsData = new Float32Array(this.numberOfColors * 4);
this.colorsData = new Float32Array(0);
}

private get numberOfColors(): number {
Expand Down

0 comments on commit 9cb5262

Please sign in to comment.