Skip to content

Commit

Permalink
Update polyline.class.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Nov 1, 2022
1 parent 1d18a15 commit ce8660d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/shapes/polyline.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class Polyline extends FabricObject {
*/
exactBoundingBox: boolean;

private initialized: boolean;
private initialized: true | undefined;

/**
* A list of properties that if changed trigger a recalculation of dimensions
Expand Down Expand Up @@ -335,7 +335,6 @@ export const polylineDefaultValues: Partial<TClassProperties<Polyline>> = {
type: 'polyline',
points: [],
exactBoundingBox: false,
initialized: false,
cacheProperties: fabricObjectDefaultValues.cacheProperties.concat('points'),
strokeBBoxAffectingProperties: [
'skewX',
Expand Down

0 comments on commit ce8660d

Please sign in to comment.