mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-27 05:44:51 +00:00
Fixed scale clearing
This commit is contained in:
@@ -352,11 +352,8 @@ public class TransformPanel extends JPanel {
|
||||
|
||||
|
||||
private void clearMoveActionPerformed(ActionEvent e) {
|
||||
Rectangle2D bounds = imagePanel.getTransformBounds();
|
||||
if (bounds != null) {
|
||||
moveHorizontalTextField.setText(formatDouble(bounds.getX()));
|
||||
moveVerticalTextField.setText(formatDouble(bounds.getY()));
|
||||
}
|
||||
moveHorizontalTextField.setText(formatDouble(bounds.getX()));
|
||||
moveVerticalTextField.setText(formatDouble(bounds.getY()));
|
||||
moveRelativeCheckBox.setSelected(false);
|
||||
}
|
||||
|
||||
@@ -365,9 +362,9 @@ public class TransformPanel extends JPanel {
|
||||
}
|
||||
|
||||
private void clearScaleActionPerformed(ActionEvent e) {
|
||||
scaleUnitComboBox.setSelectedItem(Unit.PERCENT);
|
||||
scaleWidthTextField.setText(formatDouble(100));
|
||||
scaleHeightTextField.setText(formatDouble(100));
|
||||
scaleUnitComboBox.setSelectedItem(Unit.PERCENT);
|
||||
scaleProportionallyCheckBox.setSelected(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user