NSFOntPanel: remove extra check while autosizing.

This commit is contained in:
Sergii Stoian 2024-10-04 23:05:23 +03:00
parent 64c5bb581d
commit 04e6cf804d

View file

@ -109,10 +109,6 @@ autoresize(CGFloat oldContainerSize, CGFloat newContainerSize,
{
*contentSizeInOut += change;
}
if (newContainerSize < *contentSizeInOut)
{
*contentSizeInOut = newContainerSize;
}
}
// Position