Skip to content

Commit

Permalink
return
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-openspace committed Dec 3, 2024
1 parent 2825823 commit 7a06461
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/commonjs/ReactNativeZoomableView.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/ReactNativeZoomableView.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/module/ReactNativeZoomableView.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/ReactNativeZoomableView.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/typescript/ReactNativeZoomableView.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ declare class ReactNativeZoomableView extends Component<ReactNativeZoomableViewP
/**
* Sets zoom relative to the zoomableview
*/
zoomToRelCoords(x: number, y: number, newZoomLevel: number): false | undefined;
zoomToRelCoords(x: number, y: number, newZoomLevel: number): boolean;
/**
* Zooms in or out by a specified change level
* Use a positive number for `zoomLevelChange` to zoom in
Expand Down
1 change: 1 addition & 0 deletions src/ReactNativeZoomableView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,7 @@ class ReactNativeZoomableView extends Component<
return false;
// Just exposing _zoomToLocation
this._zoomToLocation(x, y, newZoomLevel);
return true;
}

/**
Expand Down

0 comments on commit 7a06461

Please sign in to comment.