mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-16 08:19:59 +00:00
fixes
This commit is contained in:
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. */
|
||||
|
||||
Reference in new issue
Block a user