Skip to content

Commit

Permalink
fix: unwanted activation of long-press context menu after zooming (#1307
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Kneemund authored Nov 30, 2024
1 parent 47d01a2 commit e2fb8a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/rnote-ui/src/canvaswrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,7 @@ mod imp {
self.canvas_zoom_gesture.connect_end(clone!(
#[weak(rename_to=canvaswrapper)]
obj,
move |gesture, _event_sequence| {
gesture.set_state(EventSequenceState::Denied);
move |_gesture, _event_sequence| {
let widget_flags = canvaswrapper
.canvas()
.engine_mut()
Expand Down

0 comments on commit e2fb8a4

Please sign in to comment.