spelling: registration

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 09:59:25 -04:00
committed by Jindra Petřík
parent f5c0b93b12
commit 64dc1d79ef

View File

@@ -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())));