Skip to content

Commit

Permalink
feat: add zoomRange property.
Browse files Browse the repository at this point in the history
fix: flickering while zooming.
  • Loading branch information
doublelam committed Jan 9, 2025
1 parent f335115 commit f2e11ed
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 44 deletions.
17 changes: 10 additions & 7 deletions lib/commonjs/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/commonjs/index.js.map

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions lib/module/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/module/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/typescript/commonjs/src/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/typescript/commonjs/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export type FreeCanvasProps = {
strokeWidth?: number | SharedValue<number>;
backgroundColor?: string | SharedValue<string>;
zoomable?: boolean;
zoomRange?: [number, number];
background?: React.ReactNode;
foreground?: React.ReactNode;
pathEffect?: React.ReactNode;
Expand Down
Loading

0 comments on commit f2e11ed

Please sign in to comment.