mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
[Pale-Moon] Issue MoonchildProductions/UXP#1360 - Fix a dumb mistake.
This commit is contained in:
parent
5e0560d895
commit
2814613a76
1 changed files with 2 additions and 2 deletions
|
|
@ -1456,8 +1456,8 @@ BrowserGlue.prototype = {
|
|||
if (currentUIVersion < 22) {
|
||||
if (Services.prefs.prefHasUserValue("layers.acceleration.disabled")) {
|
||||
let HWADisabled = Service.prefs.getBoolPref("layers.acceleration.disabled");
|
||||
Services.prefs.setBoolPref("layers.acceleration.enabled") = !HWADisabled;
|
||||
Services.prefs.setBoolPref("gfx.direct2d.disabled") = HWADisabled;
|
||||
Services.prefs.setBoolPref("layers.acceleration.enabled", !HWADisabled);
|
||||
Services.prefs.setBoolPref("gfx.direct2d.disabled", HWADisabled);
|
||||
}
|
||||
if (Services.prefs.getBoolPref("layers.acceleration.force-enabled", false)) {
|
||||
Services.prefs.setBoolPref("layers.acceleration.force", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue