Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Fix #1009 - Persist background color #1117

Merged
merged 11 commits into from
Dec 18, 2017

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Dec 13, 2017

Issue: When resizing the window, on Windows, you can see a white background. It's also visible during the initial load, before the document is ready.

Defect: For the best experience, Electron needs to know the background color before the window launches. Previously, we didn't have a way to record that.

Fix: Incorporate the electron-settings package. This allows us to persist the background color as _internal.lastBackgroundColor, and use it from both the main and the renderer process.

This will also open the door for persisted configuration settings..

@bryphe bryphe force-pushed the bryphe/1009/persist-background-color branch from 8093014 to 5d177e6 Compare December 17, 2017 00:24
@bryphe bryphe merged commit c2db957 into master Dec 18, 2017
@bryphe bryphe deleted the bryphe/1009/persist-background-color branch December 18, 2017 21:09
@jordwalke
Copy link

This was definitely an improvement.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants