忘了加lastY = currentY……