Bug 1118179 - Assume light theme colors for the font inspector as the default. r=bgrins

This commit is contained in:
Jan Odvarko 2015-01-07 17:38:33 +01:00
parent dfa99f80d7
commit 8636b80799

View File

@ -98,8 +98,9 @@ FontInspector.prototype = {
this.chromeDoc.querySelector("#all-fonts").innerHTML = "";
let fillStyle = (Services.prefs.getCharPref("devtools.theme") == "light") ?
"black" : "white";
// Assume light theme colors as the default (see also bug 1118179).
let fillStyle = (Services.prefs.getCharPref("devtools.theme") == "dark") ?
"white" : "black";
let options = {
includePreviews: true,
previewFillStyle: fillStyle