Skip to content

Commit

Permalink
Allow field access for PencilBrush subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
DinosaurDad authored Jan 24, 2025
1 parent de788a7 commit 5de2131
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/brushes/PencilBrush.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ export class PencilBrush extends BaseBrush {
*/
straightLineKey: ModifierKey | undefined | null = 'shiftKey';

private declare _points: Point[];
private declare _hasStraightLine: boolean;
private declare oldEnd?: Point;
protected declare _points: Point[];
protected declare _hasStraightLine: boolean;
protected declare oldEnd?: Point;

constructor(canvas: Canvas) {
super(canvas);
Expand Down

0 comments on commit 5de2131

Please sign in to comment.