зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1223434
- Fix Fennec's Java selection handles to work with the C++ APZ. r=kats
--HG-- extra : commitid : CbeuaLWQT1j
This commit is contained in:
Родитель
c253b6a1ac
Коммит
8f09c55656
|
@ -930,7 +930,7 @@ class GeckoLayerClient implements LayerView.Listener, PanZoomTarget
|
||||||
ImmutableViewportMetrics viewportMetrics = mViewportMetrics;
|
ImmutableViewportMetrics viewportMetrics = mViewportMetrics;
|
||||||
PointF origin = viewportMetrics.getOrigin();
|
PointF origin = viewportMetrics.getOrigin();
|
||||||
float zoom = viewportMetrics.zoomFactor;
|
float zoom = viewportMetrics.zoomFactor;
|
||||||
ImmutableViewportMetrics geckoViewport = mGeckoViewport;
|
ImmutableViewportMetrics geckoViewport = (AppConstants.MOZ_ANDROID_APZ ? mViewportMetrics : mGeckoViewport);
|
||||||
PointF geckoOrigin = geckoViewport.getOrigin();
|
PointF geckoOrigin = geckoViewport.getOrigin();
|
||||||
float geckoZoom = geckoViewport.zoomFactor;
|
float geckoZoom = geckoViewport.zoomFactor;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче