mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1885705 - Remove the apz.force_disable_desktop_zooming_scrollbars pref. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D205427
This commit is contained in:
parent
e451075092
commit
ab606fc03b
@ -11,8 +11,7 @@
|
||||
<script type="application/javascript">
|
||||
|
||||
async function test() {
|
||||
if (SpecialPowers.getBoolPref("apz.force_disable_desktop_zooming_scrollbars") ||
|
||||
getPlatform() == "android") {
|
||||
if (getPlatform() == "android") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -3718,8 +3718,7 @@ uint32_t gfxPlatform::TargetFrameRate() {
|
||||
|
||||
/* static */
|
||||
bool gfxPlatform::UseDesktopZoomingScrollbars() {
|
||||
return StaticPrefs::apz_allow_zooming() &&
|
||||
!StaticPrefs::apz_force_disable_desktop_zooming_scrollbars();
|
||||
return StaticPrefs::apz_allow_zooming();
|
||||
}
|
||||
|
||||
/*static*/
|
||||
|
@ -591,12 +591,6 @@
|
||||
value: 1.0f
|
||||
mirror: always
|
||||
|
||||
# new scrollbar code for desktop zooming
|
||||
- name: apz.force_disable_desktop_zooming_scrollbars
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
mirror: always
|
||||
|
||||
#ifdef MOZ_WIDGET_GTK
|
||||
- name: apz.gtk.kinetic_scroll.enabled
|
||||
type: RelaxedAtomicBool
|
||||
|
Loading…
Reference in New Issue
Block a user