Skip to content

Commit 76b62b0

Browse files
committed
fixed Internal_GetWidth unity error,
dunno why it's happening
1 parent 2a01383 commit 76b62b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

System/Windows/Forms/Form.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,7 @@ internal void ResetGripRendererLocation()
362362
if (uwfSizeGripRenderer == null)
363363
return;
364364

365-
var img = uwfSizeGripRenderer.Image;
366-
uwfSizeGripRenderer.Location = new Point(Width - img.Width - 2, Height - img.Height - 2);
365+
uwfSizeGripRenderer.Location = new Point(Width - 12, Height - 12); // TODO: img error: Internal_GetWidth.
367366
}
368367

369368
protected internal override void uwfOnLatePaint(PaintEventArgs e)

0 commit comments

Comments
 (0)