Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit eea581f

Browse files
committed
Update ResizeDrag.cs
1 parent 9bb3c77 commit eea581f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Menu/ResizeDrag.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ public static Rect ResizeWindow(Rect _rect, int ID)
5858
_rect.yMax = Mathf.Min(Screen.height, _rect.yMax); // modifying yMax affects height, not y
5959
}
6060
}
61-
catch { }
61+
catch
62+
{
63+
// throw safe Managed exception
64+
throw new Exception("");
65+
}
6266

6367
GUILayout.EndHorizontal();
6468
}

0 commit comments

Comments
 (0)