From 6e2ab642e53878ccbfa313fa455c81b58a112e7a Mon Sep 17 00:00:00 2001 From: Daniel_M_Williams Date: Fri, 3 Jul 2020 16:38:24 -0400 Subject: [PATCH] [fix] fixes variable name typo in FinPointFigure --- .../src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swing/src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java b/swing/src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java index 2bc169d12..f5a522b10 100644 --- a/swing/src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java +++ b/swing/src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java @@ -380,10 +380,10 @@ public class FinPointFigure extends AbstractScaleFigure { protected void updateCanvasOrigin() { final int finHeight = (int)(finBounds_m.span().y*scale); final int mountHeight = (int)(mountBounds_m.span().y*scale); - final int finFrontX = (int)(subjectBounds_m.getX()*scale); + final int finFrontPx = (int)(subjectBounds_m.getX()*scale); final int subjectHeight = (int)(subjectBounds_m.getHeight()*scale); - originLocation_px.width = borderThickness_px.width - finFrontX; + originLocation_px.width = borderThickness_px.width - finFrontPx; if( visibleBounds_px.height > (subjectHeight+ 2*borderThickness_px.height)) { originLocation_px.height = getHeight() - mountHeight - borderThickness_px.height;