Commit 29988863 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

js/segmenter.js: Send sequences in selection order when aligning

This is important as the alignment is computed with the first sequence as
the reference. The order must thus be perserved.

On the contrary, m.getSelected() doesn't ensure to preserve order.
parent 91b0b8d8
......@@ -714,7 +714,7 @@ Segment.prototype = {
* */
align: function () {
var self = this
var list = this.m.getSelected()
var list = this.m.orderedSelectedClones;
var request = "";
this.memTab = list;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment