mirror of
https://github.com/LorenzCK/OnTopReplica.git
synced 2024-05-10 15:32:41 +12:00
Reverted aspect ratio keeping when handle is created (did crash VS designer).
This commit is contained in:
parent
04d517e1da
commit
72d4d71700
|
@ -71,13 +71,6 @@ namespace OnTopReplica {
|
|||
}
|
||||
}
|
||||
|
||||
protected override void OnHandleCreated(EventArgs e) {
|
||||
base.OnHandleCreated(e);
|
||||
|
||||
//When created, use first size of the window as aspect ratio
|
||||
SetAspectRatio(ClientSize, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Forces the form to update its height based on the current aspect ratio setting.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue