mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 972085 - Use clearUserPref in settings.js for APZC related settings. r=kats
This commit is contained in:
parent
11ba09a104
commit
ab0b9606af
@ -678,11 +678,11 @@ SettingsListener.observe('apz.force-enable', false, function(value) {
|
|||||||
|
|
||||||
SettingsListener.observe('apz.displayport.heuristics', 'default', function(value) {
|
SettingsListener.observe('apz.displayport.heuristics', 'default', function(value) {
|
||||||
// first reset everything to default
|
// first reset everything to default
|
||||||
Services.prefs.setCharPref('apz.velocity_bias', '1.0');
|
Services.prefs.clearUserPref('apz.velocity_bias');
|
||||||
Services.prefs.setBoolPref('apz.use_paint_duration', true);
|
Services.prefs.clearUserPref('apz.use_paint_duration');
|
||||||
Services.prefs.setCharPref('apz.x_skate_size_multiplier', '1.5');
|
Services.prefs.clearUserPref('apz.x_skate_size_multiplier');
|
||||||
Services.prefs.setCharPref('apz.y_skate_size_multiplier', '2.5');
|
Services.prefs.clearUserPref('apz.y_skate_size_multiplier');
|
||||||
Services.prefs.setBoolPref('apz.allow-checkerboarding', true);
|
Services.prefs.clearUserPref('apz.allow-checkerboarding');
|
||||||
// and then set the things that we want to change
|
// and then set the things that we want to change
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case 'default':
|
case 'default':
|
||||||
|
Loading…
Reference in New Issue
Block a user