Skip to content

Commit

Permalink
removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
derbyw committed Jul 7, 2021
1 parent 25ab85f commit 5f9c813
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Eto.Gtk/Forms/GtkControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,6 @@ public void HandlePanHGestureEvent(object o, Gtk.PanArgs args)
if (handler == null)
return;

bool vpan = false;


PanDirection Dir = PanDirection.Left;
Expand All @@ -782,19 +781,16 @@ public void HandlePanHGestureEvent(object o, Gtk.PanArgs args)
{
case Gtk.PanDirection.Up:
Dir = PanDirection.Up;
vpan = true;
break;
case Gtk.PanDirection.Down:
Dir = PanDirection.Down;
vpan = true;
break;
case Gtk.PanDirection.Left:
Dir = PanDirection.Left;
vpan = false;
break;
case Gtk.PanDirection.Right:
Dir = PanDirection.Right;
vpan = false;

break;
default:
break;
Expand Down

0 comments on commit 5f9c813

Please sign in to comment.