@Override
	public void mouseReleased(MouseEvent event) {
		if (currentDrawingShape.points != null && currentDrawingShape.points.size()>0){
			history.addHistory(drawings);
			currentDrawingShape.addPoint(Drawings.getCenterCircleX(), Drawings.getCenterCircleY(), 0);
			currentDrawingShape.setStrokeThicknessFactor(strokeThicknessFactor);
			drawings.add(currentDrawingShape);
			currentDrawingShape = new CustomShape();
			currentDrawingShape.setLastOffsetX(Drawings.getNewCircleX());
			currentDrawingShape.setLastOffsetY(Drawings.getNewCircleY());
			
			history.setRedo(drawings);
		}
		if (selectedShape != null && selectedShape.isSelected()) {
			selectedShape.onMouseRelease();
		}
	}