Exception Detector (EXCD) by godarklight

Exception Detector (EXCD) by godarklight

965 Downloads

[Bug ๐Ÿž]: GUI window height

zer0Kerbal opened this issue ยท 1 comments

commented
  • add scrollbars
  • fix the height of the GUI window so it stays fully on screen
commented

internal static Rect clampToScreen (Rect rect)
{
rect.x = Mathf.Clamp (rect.x, 0, Screen.width - rect.width);
rect.y = Mathf.Clamp (rect.y, 0, Screen.height - rect.height);
return rect;
}