Skip to content

Commit

Permalink
feat(drawing-context): define previous magnifier size
Browse files Browse the repository at this point in the history
  • Loading branch information
christianliebel committed Jun 3, 2021
1 parent c8b2c93 commit b954aac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/data/drawing-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const DRAWING_CONTEXT: DrawingContext = {
drawOpaque: true,
eraserSize: 8,
magnifierSize: -1,
previousMagnifierSize: 4,
brush: {
type: 'circle',
size: 4,
Expand Down
1 change: 1 addition & 0 deletions src/models/drawing-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export interface DrawingContext {
lineWidth: number;
eraserSize: number;
magnifierSize: number;
previousMagnifierSize: number;
airbrushSize: number;

colors: { primary: string; secondary: string };
Expand Down

0 comments on commit b954aac

Please sign in to comment.