mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1207490 - Part 13: Remove use of expression closure from browser/modules/Windows8WindowFrameColor.jsm. r=Gijs
This commit is contained in:
parent
cddb1a18dd
commit
aa77e360ba
@ -31,7 +31,7 @@ const Windows8WindowFrameColor = {
|
|||||||
// Zero-pad the number just to make sure that it is 8 digits.
|
// Zero-pad the number just to make sure that it is 8 digits.
|
||||||
customizationColorHex = ("00000000" + customizationColorHex).substr(-8);
|
customizationColorHex = ("00000000" + customizationColorHex).substr(-8);
|
||||||
let customizationColorArray = customizationColorHex.match(/../g);
|
let customizationColorArray = customizationColorHex.match(/../g);
|
||||||
let [unused, fgR, fgG, fgB] = customizationColorArray.map(function(val) parseInt(val, 16));
|
let [unused, fgR, fgG, fgB] = customizationColorArray.map(val => parseInt(val, 16));
|
||||||
let colorizationColorBalance = Registry.readRegKey(HKCU, dwmKey,
|
let colorizationColorBalance = Registry.readRegKey(HKCU, dwmKey,
|
||||||
"ColorizationColorBalance") || 78;
|
"ColorizationColorBalance") || 78;
|
||||||
// Window frame base color when Color Intensity is at 0, see bug 1004576.
|
// Window frame base color when Color Intensity is at 0, see bug 1004576.
|
||||||
|
Loading…
Reference in New Issue
Block a user