mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
eecca073ec
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 |
||
---|---|---|
.. | ||
actors | ||
performance | ||
socket | ||
startup | ||
tests | ||
main.js | ||
moz.build |