mirror of https://github.com/FreeCol/freecol.git
Fixes a bug where map width was used for height, and the other way around, when scaling a map in the map editor.
This commit is contained in:
parent
53dc415abe
commit
ab4b40c2db
|
@ -138,8 +138,7 @@ public class ScaleMapSizeDialog extends FreeColDialog<Dimension> {
|
|||
Object value = getValue();
|
||||
if (options.get(0).equals(value)) {
|
||||
checkFields();
|
||||
return new Dimension(Integer.parseInt(inputHeight.getText()),
|
||||
Integer.parseInt(inputWidth.getText()));
|
||||
return new Dimension(Integer.parseInt(inputWidth.getText()), Integer.parseInt(inputHeight.getText()));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue