From 503033544cdfd71dd76b861aa884d0c4d40eb068 Mon Sep 17 00:00:00 2001
From: Bob Zeleznik <zzzman@gmail.com>
Date: Mon, 6 Apr 2020 13:15:17 -0400
Subject: from last

---
 src/client/views/nodes/ImageBox.tsx | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src/client/views/nodes/ImageBox.tsx')

diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx
index 4a1b71a9e..8818b8098 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -393,11 +393,9 @@ export class ImageBox extends DocAnnotatableComponent<FieldViewProps, ImageDocum
         const { nativeWidth, nativeHeight } = this.nativeSize;
         const rotation = NumCast(this.dataDoc[this.fieldKey + "-rotation"]);
         const aspect = (rotation % 180) ? nativeHeight / nativeWidth : 1;
-        //const shift = (rotation % 180) ? -(nativeHeight - nativeHeight * aspect) : 0;
         const pwidth = this.props.PanelWidth();
         const pheight = this.props.PanelHeight();
         const shift = (rotation % 180) ? (pheight - pwidth) / aspect / 2 + (pheight - pwidth) / 2 : 0;
-        //(300 - 168) / 1.7778 / 2  + (300 - 168)/2
 
         this.resize(srcpath);
 
-- 
cgit v1.2.3-70-g09d2

