From 5f9c813903d05cd877031043f3254d8cb5780171 Mon Sep 17 00:00:00 2001 From: William M Derby Jr Date: Wed, 7 Jul 2021 15:42:10 -0400 Subject: [PATCH] removed unused variable --- src/Eto.Gtk/Forms/GtkControl.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Eto.Gtk/Forms/GtkControl.cs b/src/Eto.Gtk/Forms/GtkControl.cs index fffbf5f66e..2dba51ad47 100644 --- a/src/Eto.Gtk/Forms/GtkControl.cs +++ b/src/Eto.Gtk/Forms/GtkControl.cs @@ -773,7 +773,6 @@ public void HandlePanHGestureEvent(object o, Gtk.PanArgs args) if (handler == null) return; - bool vpan = false; PanDirection Dir = PanDirection.Left; @@ -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;