mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Make Pale Moon Windows8WindowFrameColor compatible with global scope.
This resolves #396.
This commit is contained in:
parent
10bc6c2b0d
commit
b22223ac20
1 changed files with 3 additions and 3 deletions
|
|
@ -11,15 +11,15 @@ Cu.import("resource://gre/modules/Services.jsm");
|
|||
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||
Cu.import("resource://gre/modules/WindowsRegistry.jsm");
|
||||
|
||||
const Windows8WindowFrameColor = {
|
||||
var Windows8WindowFrameColor = {
|
||||
_windowFrameColor: null,
|
||||
|
||||
get_win8: function() {
|
||||
if (this._windowFrameColor)
|
||||
return this._windowFrameColor;
|
||||
|
||||
let HKCU = Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER;
|
||||
let dwmKey = "Software\\Microsoft\\Windows\\DWM";
|
||||
const HKCU = Ci.nsIWindowsRegKey.ROOT_KEY_CURRENT_USER;
|
||||
const dwmKey = "Software\\Microsoft\\Windows\\DWM";
|
||||
|
||||
// Window frame base color component values when Color Intensity is at 0.
|
||||
let frameBaseColor = 217;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue