浏览代码

Don't need this.

BDisp 4 年之前
父节点
当前提交
ce46fb3d3e
共有 1 个文件被更改,包括 0 次插入2 次删除
  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) {