mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-12-05 20:14:36 +01:00
feat: support onPointerUp prop (#7638)
* feat: support onPointerUp prop * update changelog * Update packages/excalidraw/CHANGELOG.md Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com> --------- Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
@@ -7564,6 +7564,7 @@ class App extends React.Component<AppProps, AppState> {
|
||||
this.setState({ pendingImageElementId: null });
|
||||
}
|
||||
|
||||
this.props?.onPointerUp?.(activeTool, pointerDownState);
|
||||
this.onPointerUpEmitter.trigger(
|
||||
this.state.activeTool,
|
||||
pointerDownState,
|
||||
|
||||
Reference in New Issue
Block a user