From 1683d63f33337f87386e9c28f3b439eefff84bc4 Mon Sep 17 00:00:00 2001 From: roottool Date: Sat, 26 Jan 2019 01:03:37 +0900 Subject: [PATCH] Modified indent --- browser/components/MarkdownPreview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/components/MarkdownPreview.js b/browser/components/MarkdownPreview.js index 8ee90e37..e93312ef 100755 --- a/browser/components/MarkdownPreview.js +++ b/browser/components/MarkdownPreview.js @@ -845,8 +845,8 @@ export default class MarkdownPreview extends React.Component { const zoomImgWidth = img.width * magnification const zoomImgHeight = img.height * magnification - const zoomImgTop = (document.body.clientHeight - zoomImgHeight) / 2 - const zoomImgLeft = (document.body.clientWidth - zoomImgWidth) / 2 + const zoomImgTop = (document.body.clientHeight - zoomImgHeight) / 2 + const zoomImgLeft = (document.body.clientWidth - zoomImgWidth) / 2 const originalImgTop = img.y + rect.top const originalImgLeft = img.x + rect.left const originalImgRect = {