зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1118179 - Assume light theme colors for the font inspector as the default. r=bgrins
This commit is contained in:
Родитель
dfa99f80d7
Коммит
8636b80799
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче