This commit is contained in:
vcoppe committed 2026-10-04 11:07:12 +02:00
1 parent f458a1104f
commit 9015da4876
13 files changed
+122 -19

No files matched your search

@@ -85,7 +85,11 @@ export class SortableFileList {
this._unsubscribes.push(
engine.selection.subscribe(() => tick().then(() => this.updateFromSelection()))
);
this._unsubscribes.push(engine.order.subscribe(() => this.updateFromFileOrder()));
// after the elements are rendered: sorting a list that does not have the new files yet
// would put them at the beginning
this._unsubscribes.push(
engine.order.subscribe(() => tick().then(() => this.updateFromFileOrder()))
);
}
/** The node of a child of the list. */