We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33fb030 commit 1683d63Copy full SHA for 1683d63
browser/components/MarkdownPreview.js
@@ -845,8 +845,8 @@ export default class MarkdownPreview extends React.Component {
845
846
const zoomImgWidth = img.width * magnification
847
const zoomImgHeight = img.height * magnification
848
- const zoomImgTop = (document.body.clientHeight - zoomImgHeight) / 2
849
- const zoomImgLeft = (document.body.clientWidth - zoomImgWidth) / 2
+ const zoomImgTop = (document.body.clientHeight - zoomImgHeight) / 2
+ const zoomImgLeft = (document.body.clientWidth - zoomImgWidth) / 2
850
const originalImgTop = img.y + rect.top
851
const originalImgLeft = img.x + rect.left
852
const originalImgRect = {
0 commit comments