Skip to content

Commit

Permalink
fix: tapping with stylus button pressed causes undo (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
3akev authored Nov 10, 2024
1 parent a1f5491 commit ab8adaf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/components/canvas/canvas_gesture_detector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,6 @@ class CanvasGestureDetectorState extends State<CanvasGestureDetector> {
onPointerMove: _listenerPointerEvent,
onPointerUp: _listenerPointerUpEvent,
child: GestureDetector(
onSecondaryTapUp: (TapUpDetails details) => widget.undo(),
onTertiaryTapUp: (TapUpDetails details) => widget.redo(),
child: LayoutBuilder(
builder: (BuildContext context, BoxConstraints containerBounds) {
this.containerBounds = containerBounds;
Expand Down

0 comments on commit ab8adaf

Please sign in to comment.