add gbr to loader classes

This commit is contained in:
Stewart Allen 2024-06-29 19:21:22 -04:00
commit fdfea41a48
8 changed files with 179 additions and 129 deletions

View file

@ -40,7 +40,7 @@ const POLY = polygons;
let debug = self.debug === true,
ccvalue = this.navigator ? navigator.hardwareConcurrency || 0 : 0,
concurrent = self.Worker && ccvalue > 3 ? ccvalue - 1 : 0,
concurrent = Math.min(4, self.Worker && ccvalue > 3 ? ccvalue - 1 : 0),
current = self.worker = {
print: null,
snap: null,