Преглед изворни кода

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 ()
 		{
-			if (Bounds.Height < minimumHeight && Height.GetType ().Name == "DimAbsolute") {
+			if (Bounds.Height < minimumHeight && Height is Dim.DimAbsolute) {
 				Height = minimumHeight;
 			}