Browse Source

Don't need this.

BDisp 4 years ago
parent
commit
ce46fb3d3e
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Terminal.Gui/Views/ScrollBarView.cs

+ 0 - 2
Terminal.Gui/Views/ScrollBarView.cs

@@ -586,8 +586,6 @@ namespace Terminal.Gui {
 						}
 					}
 				} else if (me.Flags.HasFlag (MouseFlags.Button1Pressed | MouseFlags.ReportMousePosition)) {
-					var posBarLength = posBottomRightTee - posTopLeftTee;
-
 					if (lastLocation > -1 ||
 						location > 1 && location < barsize && location >= posTopLeftTee && location <= posBottomRightTee) {
 						if (lastLocation == -1) {