replit / desktop

Replit Desktop App
116 stars 7 forks source link

Persist repl.co webview window bounds #94

Closed sergeichestakov closed 1 year ago

sergeichestakov commented 1 year ago

Why

From Slack:

would be great if the webview window remembered its size and its location when i close/reopen it.

Fixes WS-680

What changed

Persist repl.co webview window bounds

Test plan

linear[bot] commented 1 year ago
WS-680 Restore previous bounds of webview popup windows

From [Slack](https://replit.slack.com/archives/C0509G0FJNL/p1690581842268069?thread_ts=1690579935.255899&cid=C0509G0FJNL): > would be great if the webview window remembered its size and its location when i close/reopen it. should be easy to do by the did-create-window event: [https://www.electronjs.org/docs/latest/api/web-contents#event-did-create-window](https://www.electronjs.org/docs/latest/api/web-contents#event-did-create-window)