浏览代码

Revert "Preparing for the PR #779"

This reverts commit c6b86bdc955d30f629780557f04cd8292252afdc.
BDisp 5 年之前
父节点
当前提交
26d6225007
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/Views/ComboBox.cs

+ 1 - 1
Terminal.Gui/Views/ComboBox.cs

@@ -111,7 +111,7 @@ namespace Terminal.Gui {
 
 
 		private void Initialize ()
 		private void Initialize ()
 		{
 		{
-			if (Bounds.Height < minimumHeight && Height.GetType ().Name == "DimAbsolute") {
+			if (Bounds.Height < minimumHeight && Height is Dim.DimAbsolute) {
 				Height = minimumHeight;
 				Height = minimumHeight;
 			}
 			}