mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Fix crash
This commit is contained in:
+3
-3
@@ -139,13 +139,13 @@ namespace VRCX
|
|||||||
LastSizeWidth = Size.Width;
|
LastSizeWidth = Size.Width;
|
||||||
LastSizeHeight = Size.Height;
|
LastSizeHeight = Size.Height;
|
||||||
|
|
||||||
_saveTimer.Start();
|
_saveTimer?.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SaveTimer_Tick(object sender, EventArgs e)
|
private void SaveTimer_Tick(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
SaveWindowState();
|
SaveWindowState();
|
||||||
_saveTimer.Stop();
|
_saveTimer?.Stop();
|
||||||
}
|
}
|
||||||
private void MainForm_Move(object sender, System.EventArgs e)
|
private void MainForm_Move(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
@@ -156,7 +156,7 @@ namespace VRCX
|
|||||||
LastLocationX = Location.X;
|
LastLocationX = Location.X;
|
||||||
LastLocationY = Location.Y;
|
LastLocationY = Location.Y;
|
||||||
|
|
||||||
_saveTimer.Start();
|
_saveTimer?.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
|
private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user