@Override
	public void mouseDragged(MouseEvent e) {
		if (SwingUtilities.isLeftMouseButton(e)) {
			if (Main.modState == ModState.Editing) {
				if (selectedPoint != -1) {
					Point draggedPoint = getClickedPoint(e);
					handlePointMovement(draggedPoint);
				}
			}
		}
	}