Skip to content

Commit ce69ea2

Browse files
nisalupdannyrb
authored andcommitted
fix: Add missing event parameter for onTouchStart callback
1 parent 13cbc8c commit ce69ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CornerstoneViewport/CornerstoneViewport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ class CornerstoneViewport extends Component {
865865
}
866866
};
867867

868-
onTouchStart = () => {
868+
onTouchStart = event => {
869869
this.setViewportActive();
870870

871871
if (this.props.onTouchStart) {

0 commit comments

Comments
 (0)