зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1779001 - Fix WindowsPreviewerPerTab scale computation. r=Gijs
Seems this code has ~0 tests :-( It also seems to have a dpi issue but that is pre-existing (tab contents look blurry). Differential Revision: https://phabricator.services.mozilla.com/D151644
This commit is contained in:
Родитель
c732482954
Коммит
ebd461b686
|
@ -286,7 +286,7 @@ PreviewController.prototype = {
|
|||
composite.mozOpaque = false;
|
||||
|
||||
let ctx = composite.getContext("2d");
|
||||
let scale = this.win.devicePixelRatio;
|
||||
let scale = this.win.win.devicePixelRatio;
|
||||
|
||||
composite.width = winWidth * scale;
|
||||
composite.height = winHeight * scale;
|
||||
|
|
Загрузка…
Ссылка в новой задаче