From 764de235a87258e9c84d4d2626c9f4e699fa353a Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 17 May 2016 09:44:54 +0200 Subject: [PATCH] :memo: Remember why we added backgroundColor --- src/browser/atom-window.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/browser/atom-window.coffee b/src/browser/atom-window.coffee index 0ee44d240..d70bda297 100644 --- a/src/browser/atom-window.coffee +++ b/src/browser/atom-window.coffee @@ -24,6 +24,10 @@ class AtomWindow options = show: false title: 'Atom' + # Add an opaque backgroundColor (instead of keeping the default + # transparent one) to prevent subpixel anti-aliasing from being disabled. + # We believe this is a regression introduced with Electron 0.37.3, and + # thus we should remove this as soon as a fix gets released. backgroundColor: "#fff" webPreferences: backgroundThrottling: not @isSpec