@barcode-bakery/barcode-common
Advanced tools
Comparing version 3.0.0-alpha.4 to 3.0.0-alpha.5
@@ -1407,4 +1407,4 @@ var O = Object.defineProperty; | ||
try { | ||
const [e, i] = t.getDimension(0, 0, this.createSurface), n = this.changeSurfaceSize(this.surface ?? this.createSurface(e, i), e, i, s); | ||
this.prepareSurface(n, e, i), t.draw(n); | ||
const [e, i] = t.getDimension(0, 0, this.createSurface); | ||
this.surface = this.changeSurfaceSize(this.surface ?? this.createSurface(e, i), e, i, s), this.prepareSurface(this.surface, e, i), t.draw(this.surface); | ||
} catch (e) { | ||
@@ -1411,0 +1411,0 @@ if (s != null && s.throwException) |
@@ -21,3 +21,3 @@ import { Surface } from './draw'; | ||
declare class BCGDrawing { | ||
private readonly surface?; | ||
private surface?; | ||
private readonly createSurface; | ||
@@ -24,0 +24,0 @@ private dpi; |
{ | ||
"name": "@barcode-bakery/barcode-common", | ||
"version": "3.0.0-alpha.4", | ||
"version": "3.0.0-alpha.5", | ||
"description": "Base code for generating barcode with the Barcode Bakery library. See barcode-bakery-1d.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94892