CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 Remember window size and position

Open Code-DJ opened this issue 2 years ago • 2 comments

Description

CodeEdit does not remember the last window size and position.

To Reproduce

  1. Open CodeEdit
  2. I had previously opened a folder, so it opens to that folder.
  3. On my MacBook Pro the window is neither centered nor maximized.
  4. Maximize it.
  5. Quit CodeEdit and open it again.
  6. Note that the window reverts back to what appears to be a hard-coded initial X, Y location and size.

Expected behavior

Remember the user's preferred window size and position.

Version information

CodeEdit: 1.0 macOS: 13.0.1 Xcode: not installed

Additional context

No response

Code-DJ avatar Jan 08 '23 21:01 Code-DJ

@austincondiff I have a fix for this. Can I submit a PR?

Code-DJ avatar Jan 09 '23 17:01 Code-DJ

Oh for sure. Thanks for letting me know. Assigning to you

austincondiff avatar Jan 09 '23 17:01 austincondiff