Preparing for the PR #779

This commit is contained in:
BDisp
2020-07-13 13:16:33 +01:00
parent d9e0622654
commit c6b86bdc95

View File

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