Improved event exception format
This commit is contained in:
@@ -442,7 +442,6 @@ public class MapEditorDialog extends Dialog implements Disposable{
|
|||||||
addTool.accept(EditorTool.fill);
|
addTool.accept(EditorTool.fill);
|
||||||
addTool.accept(EditorTool.elevation);
|
addTool.accept(EditorTool.elevation);
|
||||||
|
|
||||||
|
|
||||||
ImageButton rotate = tools.addImageButton("icon-arrow-16", 16*2f, () -> editor.setDrawRotation((editor.getDrawRotation() + 1)%4)).get();
|
ImageButton rotate = tools.addImageButton("icon-arrow-16", 16*2f, () -> editor.setDrawRotation((editor.getDrawRotation() + 1)%4)).get();
|
||||||
rotate.getImage().update(() ->{
|
rotate.getImage().update(() ->{
|
||||||
rotate.getImage().setRotation(editor.getDrawRotation() * 90);
|
rotate.getImage().setRotation(editor.getDrawRotation() * 90);
|
||||||
|
|||||||
Reference in New Issue
Block a user