// if (marqueeSelection != null) {
// tileInstancePropertiesDialog.setSelection(marqueeSelection);
// }
} else if (currentPointerState == PS_MOVE) {
if (layer != null && (moveDist.x != 0 || moveDist.x != 0)) {
undoSupport.postEdit(new MoveLayerEdit(layer, moveDist));
}
} else if (currentPointerState == PS_PAINT) {
if (layer instanceof TileLayer) {
currentBrush.endPaint();
}