From 64dc1d79efb25c0742003be795ab481895b8572e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:59:25 -0400 Subject: [PATCH] spelling: registration Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/com/jpexs/decompiler/flash/gui/TransformPanel.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/jpexs/decompiler/flash/gui/TransformPanel.java b/src/com/jpexs/decompiler/flash/gui/TransformPanel.java index 5edcc1119..4287c095e 100644 --- a/src/com/jpexs/decompiler/flash/gui/TransformPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/TransformPanel.java @@ -179,8 +179,8 @@ public class TransformPanel extends JPanel { imagePanel.addBoundsChangeListener(new BoundsChangeListener() { @Override - public void boundsChanged(Rectangle2D newBounds, Point2D registraionPoint, RegistrationPointPosition registrationPointPosition) { - update(newBounds, registraionPoint, registrationPointPosition); + public void boundsChanged(Rectangle2D newBounds, Point2D registrationPoint, RegistrationPointPosition registrationPointPosition) { + update(newBounds, registrationPoint, registrationPointPosition); } }); //setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED)); @@ -470,9 +470,9 @@ public class TransformPanel extends JPanel { loadOpenedCards(); } - private void update(Rectangle2D bounds, Point2D registraionPoint, RegistrationPointPosition registrationPointPosition) { + private void update(Rectangle2D bounds, Point2D registrationPoint, RegistrationPointPosition registrationPointPosition) { this.bounds = bounds; - this.registrationPoint = registraionPoint; + this.registrationPoint = registrationPoint; this.registrationPointPanel.setSelectedPosition(registrationPointPosition); if (!moveRelativeCheckBox.isSelected()) { moveHorizontalTextField.setText(formatDouble(convertUnit(bounds.getX(), Unit.TWIP, (Unit) moveUnitComboBox.getSelectedItem())));