Skip to content

Commit

Permalink
Merge pull request #259 from brian-eightsolutions/patch-1
Browse files Browse the repository at this point in the history
Update DiagramWidget.tsx
  • Loading branch information
dylanvorster authored Jul 13, 2018
2 parents 5b142c1 + f4ac467 commit fa34f5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/DiagramWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ export class DiagramWidget extends BaseWidget<DiagramProps, DiagramState> {
}
}}
onMouseDown={event => {
if (event.nativeEvent.which === 3) return;
this.setState({ ...this.state, wasMoved: false });

diagramEngine.clearRepaintEntities();
Expand Down

0 comments on commit fa34f5c

Please sign in to comment.