On Windows 10:
Should fix ๐ ๐ฆ
Tested on Windows 10, but observed a different behavior :
After executing step #1, steps #2 and #3 are not necessary to observe behavior in #4
I'll take a stab at it, hopefully i'm not working on something different.
Disregard the previous comment about a different behavior. I got mixed up. I can reproduce the same behavior.
I think it may be considering the window frame when exporting the bounds to save.
I'm pretty sure everything was working in version 1.0.0 -- so since then, perhaps Electron changed its behavior, or a new version of Windows causes trouble ๐คทโโ๏ธ ... just guesses here -- I've spent 0 time so far looking into the issue ๐
I'll take a look if you'd prefer to work on something else ๐ค
Got this working in Windows 10. Looks like it was a combination of two factors :
I'll submit a PR
Thank you @martincaron for the fix ๐โโ๏ธ๐๐ #425
Most helpful comment
Thank you @martincaron for the fix ๐โโ๏ธ๐๐ #425