mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-25 18:31:15 +02:00
fix context menu not opening
This commit is contained in:
@@ -10624,7 +10624,7 @@ class App extends React.Component<AppProps, AppState> {
|
||||
event.nativeEvent.pointerType === "pen" &&
|
||||
// always allow if user uses a pen secondary button
|
||||
event.button !== POINTER_BUTTON.SECONDARY)) &&
|
||||
this.state.activeTool.type !== "selection"
|
||||
this.state.activeTool.type !== this.defaultSelectionTool
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user