@Override
	public void mouseMove(MouseEvent e)
	{
		if(leftMouseDown)
		{
			if(!model.isClosed() && System.currentTimeMillis() - lastTimePointAdded > delayMS)
			{
				addClickedPosition(e.x,e.y);
				lastTimePointAdded = System.currentTimeMillis();
			}
		}
		if(rightMouseDown)
		{
			int diffX = e.x-start.x;
			int diffY = e.y-start.y;
			canvas.rotate(diffY, diffX);
			start.x = e.x;
			start.y = e.y;
		}
	}