Same as https://github.com/replit/desktop/pull/85 but a different heuristic. We don't want to restore the previous dimensions if they don't fit in the current set of displays anymore
What changed
Don't restore window bounds if prev dimensions are out of bounds
Test plan
Same test plan as above PR but with check that app is in bounds instead of there being the same # of displays
whoops not sure why my prev commits weren't being pushed in the other branch at first but it seems to be resolved. going to close this in favor of https://github.com/replit/desktop/pull/85 instead.
Why
Same as https://github.com/replit/desktop/pull/85 but a different heuristic. We don't want to restore the previous dimensions if they don't fit in the current set of displays anymore
What changed
Don't restore window bounds if prev dimensions are out of bounds
Test plan
Same test plan as above PR but with check that app is in bounds instead of there being the same # of displays