Re-enable hardware acceleration

For all the people who turned it off to fix rendering problems in the
PDF reader due to Fx60
This commit is contained in:
Dan Stillman 2023-04-10 06:12:10 -04:00
parent 6440a23f96
commit 8e6f33f045

View file

@ -49,7 +49,7 @@ Zotero.Prefs = new function(){
if (!fromVersion) {
fromVersion = 0;
}
var toVersion = 6;
var toVersion = 7;
if (fromVersion < toVersion) {
for (var i = fromVersion + 1; i <= toVersion; i++) {
switch (i) {
@ -103,6 +103,12 @@ Zotero.Prefs = new function(){
this.clear('export.noteQuickCopy.setting');
}
break;
// Re-enable hardware acceleration in Zotero 7 for all the people who turned it
// off to fix PDF rendering problems
case 7:
this.clear('layers.acceleration.disabled', true);
break;
}
}
this.set('prefVersion', toVersion);