Skip to content

Commit

Permalink
3.0.1 - Use released event instead of pressed for the DrawingArea
Browse files Browse the repository at this point in the history
  • Loading branch information
Lains committed Apr 25, 2021
1 parent 55d8961 commit 9601fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/UI.vala
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace DotMatrix {
da.add_controller (press);
press.button = Gdk.BUTTON_PRIMARY;

press.pressed.connect ((gesture, n_press, x, y) => {
press.released.connect ((gesture, n_press, x, y) => {
if (n_press > 1) {
press.set_state (Gtk.EventSequenceState.DENIED);
return;
Expand Down

0 comments on commit 9601fb5

Please sign in to comment.