gecko-dev/devtools/server
Michael Ratcliffe eecca073ec Bug 1521151 - Make Flexbox Inspector canvas take zoom into account when scrolling r=gl
The Flexbox Inspector uses platform APIs that don't take zoom into account whilst the Grid Inspector uses APIs that do take zoom into account.

This means that the zoom calculations when repositioning the canvas need to be different when called from the Flexbox Inspector than when called from the grid inspector.

I have added a `zoomWindow` option to `canvas.js::updateCanvasElement()` that allows us to optionally apply zoom to the current canvas position and the flexbox issue reported in the bug now works just fine.

All the usual other test cases work just fine with this patch applied.

Differential Revision: https://phabricator.services.mozilla.com/D23887

--HG--
extra : moz-landing-system : lando
2019-03-19 15:33:43 +00:00
..
actors Bug 1521151 - Make Flexbox Inspector canvas take zoom into account when scrolling r=gl 2019-03-19 15:33:43 +00:00
performance Bug 1489745 - Convert the preference sample-frequency-khz to hz r=ochameau,mstange 2018-10-24 12:09:37 +00:00
socket Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
startup Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
tests Bug 1532567 - remove unused eval method from threadClient and threadActor; r=bhackett 2019-03-12 15:03:47 +00:00
main.js Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
moz.build Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau 2018-09-26 10:09:15 +02:00