Skip to content

Commit

Permalink
fix(Studio): Window size is zero
Browse files Browse the repository at this point in the history
  • Loading branch information
psyGamer committed Sep 11, 2024
1 parent 40ac99d commit 82964bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Studio/CelesteStudio/Studio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,10 @@ protected override void OnClosing(CancelEventArgs e) {
Editor.Document.Save();
}

throw new Exception($"DEBUG: Size: {Size} ({Size.Width},{Size.Height}) / {Width},{Height}");
Settings.Instance.LastLocation = Location;
Settings.Instance.LastSize = Size;
Settings.Save();
//Settings.Save();

CommunicationWrapper.SendPath(string.Empty);
CommunicationWrapper.Stop();
Expand Down

0 comments on commit 82964bc

Please sign in to comment.