mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1651511 - Add Desktop zooming to experiments. r=botond,fluent-reviewers,preferences-reviewers,tnikkel,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D83574
This commit is contained in:
parent
ee604b3f2c
commit
c2c63d7b06
@ -167,3 +167,12 @@ type = "boolean"
|
||||
bug-numbers = [1651607]
|
||||
is-public = true
|
||||
default-value = false
|
||||
|
||||
[graphics-desktop-zooming]
|
||||
title = "experimental-features-graphics-desktop-zooming"
|
||||
description = "experimental-features-graphics-desktop-zooming-description"
|
||||
restart-required = true
|
||||
preference = "apz.allow_zooming"
|
||||
type = "boolean"
|
||||
bug-numbers = [1245183]
|
||||
is-public = true
|
||||
|
@ -100,3 +100,8 @@ experimental-features-devtools-serviceworker-debugger-support =
|
||||
.label = Developer Tools: Service Worker debugging
|
||||
# "Service Worker" is an API name and is usually not translated.
|
||||
experimental-features-devtools-serviceworker-debugger-support-description = Enables experimental support for Service Workers in the Debugger panel. This feature may slow the Developer Tools down and increase memory consumption.
|
||||
|
||||
# Desktop zooming experiment
|
||||
experimental-features-graphics-desktop-zooming =
|
||||
.label = Graphics: Smooth Pinch Zoom
|
||||
experimental-features-graphics-desktop-zooming-description = Enable support for smooth pinch zooming on touchscreens and precision touch pads.
|
||||
|
@ -765,7 +765,8 @@ void nsWindow::RecreateDirectManipulationIfNeeded() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!StaticPrefs::apz_windows_use_direct_manipulation() ||
|
||||
if (!(StaticPrefs::apz_allow_zooming() ||
|
||||
StaticPrefs::apz_windows_use_direct_manipulation()) ||
|
||||
StaticPrefs::apz_windows_force_disable_direct_manipulation()) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user