mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Calculate popup window height properly
This commit is contained in:
@@ -172,8 +172,7 @@
|
|||||||
browser.windows.update(browserWindow.id, {
|
browser.windows.update(browserWindow.id, {
|
||||||
height: Math.ceil(
|
height: Math.ceil(
|
||||||
(document.body.clientHeight +
|
(document.body.clientHeight +
|
||||||
(window.outerHeight - window.innerHeight)) *
|
(window.outerHeight - window.innerHeight))
|
||||||
window.devicePixelRatio
|
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user