Browse Source

Revert "Preparing for the PR #779"

This reverts commit c6b86bdc955d30f629780557f04cd8292252afdc.
BDisp 5 years ago
parent
commit
26d6225007
1 changed files with 1 additions and 1 deletions
  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 ()
 		{
-			if (Bounds.Height < minimumHeight && Height.GetType ().Name == "DimAbsolute") {
+			if (Bounds.Height < minimumHeight && Height is Dim.DimAbsolute) {
 				Height = minimumHeight;
 			}